PHP code example of firestark / project
1. Go to this page and download the library: Download firestark/project 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/ */
firestark / project example snippets
use function compact as with;
when ( 'i want to add a todo', then ( apply ( a (
function ( todo $todo, todo\manager $manager )
{
if ( $manager->has ( $todo ) )
return [ 2000, with ( 'todo' ) ];
$manager->add ( $todo );
return [ 1000, with ( 'todo' ) ];
} ) ) ) );