Download the PHP package ta-tikoma/bind without Composer
On this page you can find all versions of the php package ta-tikoma/bind. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ta-tikoma/bind
More information about ta-tikoma/bind
Files in ta-tikoma/bind
Download ta-tikoma/bind
More information about ta-tikoma/bind
Files in ta-tikoma/bind
Vendor ta-tikoma
Package bind
Short Description bind method for binding argument to callable
License MIT
Package bind
Short Description bind method for binding argument to callable
License MIT
Please rate this library. Is it a good library?
Informations about the package bind
BIND
There is only two functions in this package: bind and flip, for make you code short.
Install
composer require ta-tikoma/bind
Examples
Example 1 (Simple)
Before
array_map(static fn (string $s) => substr($s, 2), ['a_bar', 'a_foo', 'a_boo'])
After
array_map(bind(substr(...), 2), ['a_bar', 'a_foo', 'a_boo'])
Example 2 (Pipe)
Before
After
Example 3 (Collection)
Before
After
All versions of bind with dependencies
PHP Build Version
Package Version
No informations.
The package ta-tikoma/bind contains the following files
Loading the files please wait ...