znframework/shared-edition

ZN Framework Shared Edition

This package is auto-updated.

Last update: 2024-09-12 19:33:54 UTC


README

这是融合了ZN Framework精髓的版本,提供合理舒适的使用体验,并包含共享工作目录。

安装

安装只需运行以下代码。

composer create-project znframework/shared-edition

目录结构

以下是本版本的目录结构,将逐一解释每个目录的用途。

  • app/
    • Console/
    • Exceptions/
    • Http/
      • Controllers/
      • Views/
    • Models/
  • bootstrap/
  • config/
  • database/
  • public/
  • reources/
    • butchery/
    • files/
    • lang/
    • templates/
    • uploads/
  • routes/
  • storage/

配置

配置方面,请按照以下方式编辑.conf文件。

<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>