Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/znframework/custom-edition

ZN Framework Creator's Edition
https://github.com/znframework/custom-edition

Last synced: about 2 months ago
JSON representation

ZN Framework Creator's Edition

Awesome Lists containing this project

README

        

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!

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