PHP code example of getcloudcontrol / microframework
1. Go to this page and download the library: Download getcloudcontrol/microframework 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/ */
getcloudcontrol / microframework example snippets
|
| .htaccess // Which redirects all trafic to public/index.php
| composer.json
| compsser.lock
|_ public/
|_ public/index.php
|_ vendor/
tcloudcontrol\microframework\App;
App::prepare(__DIR__);
if (App::cliServerServeResource()) {
return false;
}
App::run();
App::render();
php -S localhost:3000 index.php