Home  >  Article  >  Backend Development  >  想写点小东西,有没有什么好的框架

想写点小东西,有没有什么好的框架

WBOY
WBOYOriginal
2016-06-06 20:43:52907browse

php的 最好是单文件版的,

回复内容:

php的 最好是单文件版的,

@mcfog 的 litphp 挺小的,虽然不是单文件,但整个框架的代码也就 289 行
https://github.com/litphp/lit

或者你可以试试 Twitto ,代码的字符数满足发 Twitter 的限制(别当真,这玩意不安全)
http://twitto.org/

http://b2core.b24.cn/
这是一个超轻量级的架构。它的核心代码不到200行。包括 3个核心类,2个核心函数。 它可以被用做学习 PHP MVC 架构的快速入门。如果你用过 CI 或者类似的构架看过代码后你可以马上上手。

我想你可以试试这个
https://github.com/aheinze/Lime

如果你不需要mvc的话,medoo非常酷

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn