underscore-php
underscore-php copied to clipboard
A redacted PHP port of Underscore.js with additional functions and goodies – Available for Composer and Laravel
Recently after upgrading to php`7.2` I have received the following error `"PHP message: PHP Fatal error: Cannot use Underscore\Types\Object as Object because 'Object' is a special class name"`. I've been...
Frustrated by the lack of updates, we built our own Underscore-like functional programming library since none of the tools out there were maintained, easy to use, or well-documented: https://github.com/nextbigsoundinc/dash ```php...
Can this be fixed in the 1.x branch please? Thanks!
"String" was renamed to "Strings" in faeac5805519ee41259cf8e64b4fedd11a1e7370 which makes the examples and documentation incorrect.
When installing [`underscore-php` v2.0.0](https://packagist.org/packages/anahkiasen/underscore-php#2.0.0), it reports that it requires `php: >=5.4.0` in its `composer.json`, however at the same time it requires [`doctrine/inflector`](https://packagist.org/packages/doctrine/inflector) (`^1.0`) which installs `v1.3.0` and it requires PHP...
Attempt to fix Travis CI tests. Now it only fails on some minor code.
On your site under [Array::reject](http://anahkiasen.github.io/underscore-php/#Arrays-reject) there is a typo in the method usage example. The example uses **Array::filter** method insted of **Array::reject** The example says: ``` Arrays::filter(array(1, 2, 3), function($value)...
@Anahkiasen I am wondering if you were still planning on maintaining this library? It seems you have many issues open and there hasn't been much movement on them. Thanks!
How can the array possibly match the closure if it is empty? Has to return false.
I'd like to add this functionality if no reason to do not thanks