namesonic/simple-site-framework
最新稳定版本:v0.1.6
Composer 安装命令:
composer require namesonic/simple-site-framework
包简介
Simple Site Framework
README 文档
README
Use this to scaffold a simple html template project using a lightweight MVC structure.
Features
- Lightweight MVC Structure (sans M)
- Multiple Layouts
- No CSS/js dependency
- Simple variable replacement handling for templates
- Configuration Handling
- Exception Handling
Requires
- PHP 8.1 or greater
Installation
Exchange my-site-name below with the folder name that will contain your new website.
composer create-project namesonic/simple-site my-site-name
Configuration
Your webserver should be configured to point the document root to the my-site-name/public folder.
Development
app\
Http\
Controllers\
Add new pages to the website here
Exceptions\
Add custom code exception handlers here
config\
Store configuration files here
public\
This is the public facing folder for the application
js\
css\
img\
resources\
errordocs\
Website errordocuments are served from this folder <404.php>
layouts\
Global template layouts are stored here <layoutname.php>
views\
Individual page layouts are stored here <pagename.php>
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2023-12-10