znframework / custom-edition
ZN Framework Creator's Edition
Installs: 133
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=7.0.0
- znframework/package-authentication: >=6.0
- znframework/package-authorization: >=6.0
- znframework/package-buffering: >=6.0
- znframework/package-cache: >=6.0
- znframework/package-captcha: >=6.0
- znframework/package-comparison: >=6.0
- znframework/package-compression: >=6.0
- znframework/package-console: >=6.0
- znframework/package-crontab: >=6.0
- znframework/package-cryptography: >=6.0
- znframework/package-database: >=6.0
- znframework/package-datatypes: >=6.0
- znframework/package-datetime: >=6.0
- znframework/package-email: >=6.0
- znframework/package-event-handler: >=6.0
- znframework/package-filesystem: >=6.0
- znframework/package-generator: >=6.0
- znframework/package-helpers: >=6.0
- znframework/package-hypertext: >=6.0
- znframework/package-image: >=6.0
- znframework/package-language: >=6.0
- znframework/package-pagination: >=6.0
- znframework/package-payment: >=6.0
- znframework/package-prompt: >=6.0
- znframework/package-protection: >=6.0
- znframework/package-remote: >=6.0
- znframework/package-request: >=6.0
- znframework/package-response: >=6.0
- znframework/package-security: >=6.0
- znframework/package-services: >=6.0
- znframework/package-shopping: >=6.0
- znframework/package-storage: >=6.0
- znframework/package-validation: >=6.0
- znframework/package-xml: >=6.0
- znframework/package-zerocore: >=6.0
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');