PHP code example of georgebent / slim-skeleton

1. Go to this page and download the library: Download georgebent/slim-skeleton 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/ */

    

georgebent / slim-skeleton example snippets


$app->get('/', 'App\Classes\Controller:index');

$this->container['db']->query("SELECT * FROM works;");