PHP code example of sherman / x-framework-app
1. Go to this page and download the library: Download sherman/x-framework-app library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sherman / x-framework-app example snippets
+--- composer.json #composer 配置文件
+--- doc #说明文档
+--- config #项目配置目录
| +--- main.php #配置文件
| +--- params.php #配置参数
| +--- router.php #路由配置
+--- controllers #控制器目录
+--- index.php #统一入口文件
+--- vendor #composer自动加载及依赖文件
| +--- autoload.php #自动加载文件
| +--- composer #composer 目录
| +--- sherman #x框架
+--- views #视图目录
| +--- layouts #公共视图目录