Skip to content
develop
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

ZN Framework Creator's Edition

This version allows you to create your own directory structure. Using the ZN Framework's core, you can build the appropriate code framework by building your own directory.

Installation

You only need to run the following code for the installation.

composer create-project znframework/custom-edition

Directory Configuration

For index configuration, open the zeroneed.php file. And define the necessary directories. Do you not forget to add a slash (/) at the end of the path information!

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');