ZN Framework Creator's Edition
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.htaccess
Dockerfile
LICENSE
LocalValetDriver.php
composer.json
docker-compose.yml
index.php
readme.md
web.config

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 index.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' => 'controllers/', # It is necessary to define this constant.
    'MODELS_DIR'      => 'models/',      # Example path.
    #'VIEWS_DIR'       => '',
    #'ROUTES_DIR'      => '',
    #'CONFIG_DIR'      => '',
    #'DATABASES_DIR'   => '',
    #'STORAGE_DIR'     => '',
    #'COMMANDS_DIR'    => '',
    #'LANGUAGES_DIR'   => '',
    #'LIBRARIES_DIR'   => '',
    #'AUTOLOAD_DIR'    => '',
    #'LAYERS_DIR'      => '',
    #'FILES_DIR'       => '',
    #'TEMPLATES_DIR'   => '',
    #'THEMES_DIR'      => '',
    #'PLUGINS_DIR'     => '',
    #'UPLOADS_DIR'     => '',

])::run('CE');