Home  >  Article  >  Backend Development  >  May I ask what lightweight PHP development frameworks there are? I have been trying to write frameworks recently.

May I ask what lightweight PHP development frameworks there are? I have been trying to write frameworks recently.

WBOY
WBOYOriginal
2016-08-04 09:19:41822browse

I recently planned to write a PHP development framework, but the frameworks currently on the market are too complex and seem to be difficult.
I hope everyone can recommend a simpler framework.

If you have blog recommendations on PHP development frameworks, they are also very welcome. Thank you in advance~

Reply content:

I recently planned to write a PHP development framework, but the frameworks currently on the market are too complex and seem to be difficult.
I hope everyone can recommend a simpler framework.

If you have blog recommendations on PHP development frameworks, they are also very welcome. Thank you in advance~

There are roughly two types of frameworks, micro-framework and full-stack framework.

What you are looking for belongs to the category of micro-framework. At present, the Slim micro-framework best meets your needs.

The following is excerpted from the official website introduction of the framework and translated as follows:

Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs

Official website link: http://www.slimframework.com/

If your English is not good, there is also a Chinese website: http://www.slimphp.net/

CodeIgniter is a pretty good framework
If...

You want a compact framework;
You need excellent performance;
You need broad compatibility with various PHP versions and configurations on standard hosts;
You want a framework with almost zero configuration;
You want a framework that requires no Use a command-line framework;
You want a framework that doesn't want to be constrained by coding rules;
You're not interested in a behemoth like PEAR;
You don't want to be forced to learn a new template language (of course, if you like, You can choose a template parser);
You don’t like complexity and pursue simplicity;
You need clear and complete documentation.
Then CI framework is what you need

xiaocms This belongs to the system
First make the system yourself

thinkphp is very simple, and the Chinese documentation is detailed
Thinkphp

I just finished learning PHP, and then tried to write web programs using the PHP framework. As far as Laravel is concerned, I feel that it is not too difficult to get started

Yaf framework is launched. There are three realms of the sword: first, if there is a sword in the hand, there is also a sword in the heart; second, if there is no sword in the hand, there is a sword in the heart; third, if there is no sword in the hand, there is also no sword in the heart. Yaf is the second level of the sword. The framework is not in your hands, but in the "heart" of PHP.

I plan to write just like you. I am currently using Laravel and want to absorb some of Laravel’s advantages into the framework.
If possible, let’s write it together.

CodeIgniter

I use corethink, which is lightweight and easy to use, and has high code quality. You can download it from the official website and try it, it’s free

https://packagist.org/search/…
https://packagist.org/search/…
https://packagist.org/search/…
https://packagist.org /search/...

You should be able to find the framework you want! ! !

The professionals are here to pour cold water on you.

It is not recommended. The use of self-developed frameworks is not much different from using familiar existing frameworks. In addition, the document maintenance and debugging of the framework are very expensive. If there is no financial support, it will be really thankless.
Moreover, it is ok to use testing tools for code testing, but the framework must use it to develop projects to reflect various problems in the design, which is really difficult for individuals to bear.

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