1. Go to this page and download the library: Download eduluz1976/action 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/ */
eduluz1976 / action example snippets
function multiply($x,$y) {
return $x * $y;
}
$action = Action::factory('multiply()');
$response = $action->exec(2,5);
// result = 10