Mango16 - 基于Yaf的Cmf管理系统
知行合一,学以致用 集合众多
Web
开发新特性 ,来一起堆轮子吧
Centos7.0 + PHP7.1 + Yaf 3.0.4 快速搭建高速的Lnmp栈,作为平时班后练习。静态资源
What I Do
- 基于zui的后台管理界面
- 引入 laravel 中的 Eloquent
- 简单的增删改查实现
- 错误捕捉显示及日志记录
- 静态资源采用第三方七牛云托管
- Composer管理包依赖
Requirement
The last
不太懂你的思想,我们只是最快的框架
Nginx 示例
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: