Mango16 - 基于Yaf的Cmf管理系统
知行合一,学以致用
Centos7.0 + PHP7.1 + Yaf 3.0.4 快速搭建高速的Lnmp栈,作为平时班后练习。正在写,欢迎一起完成。
What I Do
基于zui的后台管理界面 引入 laravel 中的 Eloquent 简单的增删改查实现 错误捕捉显示及日志记录 静态资源采用第三方七牛云托管 Composer管理包依赖Requirement
Nginx PHP 7 + MariaDB YaConf Yaf 3.0+ Zui 1.5.0 Eloquent 4.2 Composer 1.0Nginx 示例
server {
listen 80;
server_name ***;
root ***;
access_log ***/nginx/logs/space-access-log main;
error_log ***/nginx/logs/space-error-log error;
location / {
index index.php index.html;
try_files $uri $uri/ /index.php?$args;
}
location ~ .*.php$ {
include /root/nginx/conf/fastcgi.9000.conf;
fastcgi_param SCRIPT_FILENAME ***/$fastcgi_script_name;
}
}
php.ini
extension="yaf.so"
extension="yaconf.so"
yaf.environ = product
yaf.library = NULL
yaf.cache_config = 0
yaf.name_suffix = 1
yaf.name_separator = ""
yaf.forward_limit = 5
yaf.use_namespace = 1
yaf.use_spl_autoload = 0
yaconf.directory=***/Mango16/config
纠错
如果大家发现有什么不对的地方,可以发起一个issue或者pull request,我会及时纠正
补充:发起pull request的commit message请参考文章Commit message 和 Change log 编写指南
感谢
感谢以下朋友的issue或pull request:
zhangxuanru
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。
3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考学习用!
4、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。