PHP code example of dopamine / flatcms

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

    

dopamine / flatcms example snippets


   'field_types' => ['color', 'date'],
   
bash
composer install
AUTH_DEV_BYPASS=1 php -S localhost:8080 -t public public/router.php
bash tests/run.sh
bash
git pull && composer install --no-dev -o && php bin/doctor