contracts
collections
contracts | collections | |
---|---|---|
2 | 4 | |
668 | 224 | |
0.6% | 1.8% | |
6.6 | 7.8 | |
14 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.
contracts
-
PHP Map v3.0 - Collections made easy
Especially the contracts package contains a lot of code that is not required by the collections object at all: https://github.com/illuminate/contracts
-
Adapter Pattern vs. Bridge Pattern
Most frameworks have a caching system that has a single API for working with it, while providing adapters for different implementations, like: redis, memcache or a filesystem cache. Laravel calls these adapters a Store and you can find these stores in illuminate/cache. They provide the Target interface for such a store in the illuminate/contracts repository.
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?
LinkToken - LINK Token Contracts for the Chainlink Network
dflydev-dot-access-data - Given a deep data structure representing a configuration, access configuration by dot notation.
collection - A (memory) friendly, easy, lazy and modular collection class.
php-builder - :elephant: Build PHP 5.6 and newer
cache - [READ ONLY] Subtree split of the Illuminate Cache component (see laravel/framework)
PHP Collections - General Purpose Collection Library for PHP
homebrew-php - :beer: Homebrew tap for PHP 5.6 to 8.4. PHP 8.4 is built nightly.
YaLinqo - Yet Another LINQ to Objects for PHP [Simplified BSD]
Porter - :lipstick: Durable and asynchronous data imports for consuming data at scale and publishing testable SDKs.
DBngin - DB Engine
Fractal - Output complex, flexible, AJAX/RESTful data structures.
Totem - Changeset calculator between two states of a data