A list of amazingly awesome PHP libraries, resources and shiny things.
- Composer/Packagist - A package and dependency manager.
- Composer Installers - A multi framework Composer library installer.
A list of amazingly awesome PHP libraries, resources and shiny things.
<?php | |
/** | |
* If you have two sets of collections, which you would previously have used a nested foreach to do something to each unique | |
* combination of items, you can use this macro to get it done instead! | |
* | |
* It will return a collection of tuples that represent the combination of the two collections. If you'd like to add keys to the tuple | |
* you can pass that in as an optional second argument! | |
*/ |