chrismademe/php-site-framework-2
Composer 安装命令:
composer require chrismademe/php-site-framework-2
包简介
PHP Framework for building interactive apps/websites
README 文档
README
- Clone this repo to your project folder
- Edit
package.jsonwith your project name and description. - Rename the default theme, found in
app/theme/defaultto suit your project. - Update
app/config.phpwith your new theme name. - PHPSF2 will attempt to copy
.env.examplefor you. If this fails, copy and rename it to.env.
Install Dependencies
npm install
composer install
Deploying
When you upload your site, make sure you're using the production tag in .env so that errors are not displayed on screen.
Theme Cache
Twig has the ability to cache rendered templates. To do so, it requires permissions to write to the cache folder. You can set a directory for caching in youe .env file. If you do, don't forget to chmod 775 on that directory.
To do
- Add Bower support
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2015-11-24