tomvlk/simplemvcframework
最新稳定版本:v2.2
Composer 安装命令:
composer create-project tomvlk/simplemvcframework
包简介
Framework for PHP 5.5+
README 文档
README
Version 3 of the Framework.
This is a temp readme for beta testing.
*** Not for production use yet! ***
Install
To be updated - 3.0 is currently been refactored. Once finalized, these instructions will be updated.
This has been tested with php 5.6 and php 7 (RC8), please report any bugs. This system has not been tested enough to be considered stable.
Namespace change
Classes in app/Controller, app/Model and app/Modules now have a namespace starting with App:
App\ControllersApp\ModelsApp\Modules- ...
That is only for classes within app. This is not needed for classes within system.
Error Log
The error log is no longer a .html file but rather a log file. On a production server it should be outside the document root, in order to see any errors there are a few options:
- open
system/logs/error.log - OR open
system/Core/Logger.php, set$displayto true to print errors to the screen - set
$emailErrorto true and setup thesiteEmailconst insystem/Core/Config.php. This relies on an email server (not provided by the framework).
Video introduction and setup
This is an introduction to 3.0 whilst in beta: how to install and get up and running with the major changes.
统计信息
- 总下载量: 33
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-29