PHP code example of mhulse / slim-php-boiler

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

    

mhulse / slim-php-boiler example snippets




define('DB_HOST', '127.0.0.1');
define('DB_NAME', 'slim-php-boiler');
define('DB_USER', 'root');
define('DB_PASSWORD', '');
define('DB_PORT', 3306);
text
composer.phar
vendor/
config.php
bash
$ php composer.phar create-project mhulse/slim-php-boiler temp
bash
$ php composer.phar install
bash
$ php composer.phar update

$ php composer.phar start