radium / framework
dev-master
2016-04-13 02:27 UTC
Requires (Dev)
- filp/whoops: ^1.1
This package is not auto-updated.
Last update: 2022-02-01 12:36:50 UTC
README
Unframework 不是一个框架,它本质上只是一些类(大多数是静态的),用于处理初始化并将请求路由到特定的文件。
没有控制器,没有数据库模型,没有模板系统。
示例站点可以在 app/
目录中找到。
需求
- PHP 的最新、活跃支持、稳定版本
推荐
- OPcache
- PHP 7.0+
问题
但是,我想要控制器...
不,您不需要。
但是,我需要一个数据库...
PHP 的 PDO 是最好的。
但是,我想要一个ORM来占用我的内存...
您做错了,学习写SQL,这并不难。
但是,我想要Twig(或其他模板系统)
您什么都不懂,约翰·斯诺。
不,真的,我懂。
许可证
Copyright (c) 2015 Jack P.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.