Skip to content

znframework/custom-edition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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