PHP code example of dietcube / project

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

    

dietcube / project example snippets


edit app/config/config.php
edit app/config/config_{DIET_ENV}.php



return [
    'debug' => true,

    ...
];

fastcgi_param  DIET_ENV production;