Version 3.5 of the PHP Map package includes more methods to work with collections of strings easily: ltrim(): Removes chars from the left rtrim(): Removes chars from the right strAfter(): Returns the strings after strBefore(): Returns the strings before All these methods are multi-byte character awa...
PHP Map version 4.1 is now available, the PHP array/collection package for working with arrays and collections easily. https://php-map.org The release is mostly about performance work in the collection internals, plus stricter behavior around malformed input. Some benchmarks from the release commits...
PHP Map 3.8 releasedThe new version of the PHP package for working with arrays and collections easily adds:- percentage(): Percentage of items passing the test- isString(): If all values are strings- Filter closures for avg(), min(), max() and sum()https://php-map.org The new version of the PHP pack...
Version 3.4 of the PHP Map package includes more methods to work with collections of strings easily: strContainsAll(): Test if all entries contains a string strStartsAll(): Test if all entries starts with string strEndsAll(): Test if all entries ends with string strReplace(): Replace chars in all st...
The new version of the PHP package for working with arrays and collections easily adds copy on write versions of all sorting methods: asorted(), arsorted(), krsorted(), rsorted(), usorted() uasorted() and uksorted() Have a look at the complete documentation at https://php-map.org. Examples php Map::...
The map package is dependency free and doesn't require several Laravel packages in addition. Furthermore, the map package offers more features than Laravel Collections do.
As far as I've understood the async RFC, it's only an additional possibility you CAN use and all synchronous code will work as is ... as well as all extensions except Fibers.
Laravel collections are a perfect fit if you already use Laravel.
PHP Map is suitable for all PHP projects as it doesn't have dependencies to any other Laravel packages. Furthermore, PHP Map contains the same or similar methods as Laravel collections but has more features.
You can but this requires other Laravel packages too while PHP Map is dependency free. If you need the additional features of PHP Map depends on your use case.
The map package is dependency free and doesn't require several Laravel packages in addition. Furthermore, the map package offers more features than Laravel Collections do.
As far as I've understood the async RFC, it's only an additional possibility you CAN use and all synchronous code will work as is ... as well as all extensions except Fibers.
Laravel collections are a perfect fit if you already use Laravel.
PHP Map is suitable for all PHP projects as it doesn't have dependencies to any other Laravel packages. Furthermore, PHP Map contains the same or similar methods as Laravel collections but has more features.
You can but this requires other Laravel packages too while PHP Map is dependency free. If you need the additional features of PHP Map depends on your use case.
You can use it independently of Laravel and it's dependency free