znframework/custom-edition

ZN Framework Creator's Edition

This package is auto-updated.

Last update: 2024-11-12 19:54:02 UTC


README

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