PHP code example of zkosta / laravel-functional-php
1. Go to this page and download the library: Download zkosta/laravel-functional-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zkosta / laravel-functional-php example snippets
use function Functional\map;
map(range(0, 100), function($v) {return $v + 1;});
HFunc::map(range(0, 100), function($v) {return $v + 1;});
composer