PHP code example of znframework / custom-edition

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

    

znframework / custom-edition example snippets


ZN\ZN::defines
([
    'CONTROLLERS_DIR' => '/', # It is necessary to define this constant.
    'MODELS_DIR'      => '',     
    'VIEWS_DIR'       => '',
    'ROUTES_DIR'      => '',
    'CONFIG_DIR'      => 'config/',
    'DATABASES_DIR'   => '',
    'STORAGE_DIR'     => '',
    'COMMANDS_DIR'    => '',
    'LANGUAGES_DIR'   => '',
    'LIBRARIES_DIR'   => '',
    'AUTOLOAD_DIR'    => '',
    'FILES_DIR'       => '',
    'TEMPLATES_DIR'   => '',
    'THEMES_DIR'      => '',
    'PLUGINS_DIR'     => '',
    'UPLOADS_DIR'     => '',

])::run('CE');