Download the PHP package tandiljuan/collection without Composer
On this page you can find all versions of the php package tandiljuan/collection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tandiljuan/collection
More information about tandiljuan/collection
Files in tandiljuan/collection
Package collection
Short Description PHP library to create custom collections
License MIT
Homepage https://github.com/tandiljuan/php-collection
Informations about the package collection
Collection
PHP library to create custom collections.
Usage
Define a custom collection, extending library's abstract collection and defining the item and offset types
Create a collection that only will allow the item and offset types you have defined
Require parameters to be of MyCustomCollection using type declarations
Development
Contributions must follow Symfony Coding Standards.
It's encouraged to read the following documentation:
The run bash script is a wrapper of a php docker container. It will bootstrap the container and run a given command inside of it. The container should have all needed tools for development. Please, let know the project maintainer if something is missing.
To add new packages in the composer.json file, use composer require
To install packages defined in the composer.json file, use composer install
To check PHP code against coding standards, use php-cs-fixer
To run PHP REPL interactive shell, use php or psysh
Testing
Bootstrap Codeception test environment. This must be done only once.
Create a codeception test suit. This must be done only once per suit.
Create a Cest class under a given suit. Can create as many Cest classes as needed.
After writing the tests, can execute them using the run command