collection
collections
collection | collections | |
---|---|---|
20 | 4 | |
705 | 223 | |
0.3% | 1.3% | |
8.2 | 7.8 | |
16 days ago | 6 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
collection
- Experimenting around FP in PHP
-
How to functionally invert a set of relations
It's a transposition, did it in PHP here: https://github.com/loophp/collection/blob/master/src/Operation/Transpose.php
-
Do you have a kind of Flip/Flop operator in PHP?
I didn't know that one, but I might definitely implement it in https://github.com/loophp/collection tomorrow!
-
PHP Map 3.3 released - Collections made easy!
I'm working on it, I hope I can release it before the end of the year. There is a last pull-request which is preventing me from moving forward: https://github.com/loophp/collection/pull/270
-
Do generators really reduce the memory usage?
Thanks for your super article. I might add a link to it in https://github.com/loophp/collection
-
What new array_* functions would you like to see on next PHP versions?
I personally would like to see them removed and replaced with their equivalent that would work with iterables. This is the reason why I wrote this : https://github.com/loophp/collection
-
PHP Map v3.0 - Collections made easy
Or https://github.com/loophp/collection completely lazy.
- PHP Map v2.6 - Collections made easy
-
public static function __invoke - closing gap between functions and classes
I'm using that all over the place in here : https://github.com/loophp/collection/tree/master/src/Operation
- PHP Map - PHP arrays and collections made easy
collections
-
laravel is apple and symfony is android, your own framework is linux distro buit by you
Somehow I wound up with a package that depended on their Collection component, which happily dumps a bunch of functions with common words in the global namespace.
-
PHP Map v3.0 - Collections made easy
Illuminate Collections has basically no dependencies, only the contracts package which is just a bunch of interfaces. https://github.com/illuminate/collections
-
PHP 8.1 is here
And for Laravel Collections, phpstan/psalm type annotations are coming in Laravel v9. You can already see the changes in the master branch https://github.com/illuminate/collections/blob/master/Collection.php
- Use iluminate/collections outside Laravel
What are some alternatives?
dflydev-dot-access-data - Given a deep data structure representing a configuration, access configuration by dot notation.
php-caching-generator - A rewindable PHP Generator class that caches its generated values.
php-builder - :elephant: Build PHP 5.6 and newer
JSON Machine - Efficient, easy-to-use, and fast PHP JSON stream parser
PHP Collections - General Purpose Collection Library for PHP
Fregata - Fregata - a PHP database migrator
homebrew-php - :beer: Homebrew tap for PHP 5.6 to 8.4. PHP 8.4 is built nightly.
map - PHP arrays and collections made easy
YaLinqo - Yet Another LINQ to Objects for PHP [Simplified BSD]
contracts - Smart contracts comprising the business logic of the Matic Network
Porter - :lipstick: Durable and asynchronous data imports for consuming data at scale and publishing testable SDKs.