PHP code example of iddqdby / tinyapp
1. Go to this page and download the library: Download iddqdby/tinyapp 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/ */
iddqdby / tinyapp example snippets
on = $argv[1];
$arguments = array_slice($argv, 2);
$app = new MyApp(); // MyApp extends TinyApp\App
$result = $app->run($action, $arguments);
printf("%s\n", $result);