It is the version that blends the essence of the ZN Framework, offers a rational and comfortable use and includes a shared working directory.
You only need to run the following code for the installation.
composer create-project znframework/shared-edition
The directory structure of this version is shown below, and the usage purpose of the directories is explained one by one.
- app/
- Console/
- Exceptions/
- Http/
- Controllers/
- Views/
- Models/
- bootstrap/
- config/
- database/
- public/
- reources/
- butchery/
- files/
- lang/
- templates/
- uploads/
- routes/
- storage/
For configuration, edit the .conf file as follows.
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/public
<Directory /var/www/html/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>