Home >PHP Framework >Laravel >There are so many PHP frameworks, why do you prefer Laravel8?

There are so many PHP frameworks, why do you prefer Laravel8?

藏色散人
藏色散人forward
2021-09-11 13:56:402740browse

Frameworks are emerging in endlessly

PHP’s frameworks are dazzling, from ZendFramework and CodeIgniter in ancient times to Laravel and Yii, from ThinkPHP to Symfony, from Yaf to the following Hyperf and Easyswoole, which use swoole as the basic component, and Spiral, which combines go and php.

With the continuous upgrading of PHP version, the changes brought about by PHP's own syntax guide the continuous updating of the framework. In the projects currently run by our company, more than four frameworks and their differences are still used. There are multiple versions of PHP from ZendFramework1 to Laravel8. However, this situation cannot be improved for a while due to the existence of ancient projects, which brings varying degrees of trouble to development and operation and maintenance students.

Enjoyed by Laravel

Getting to the point, Laravel is known as an elegant and fast framework. From the perspective of project experience, I personally feel that Laravle is very suitable for teams with more than 5 projects or services. If it is a single project, it depends on personal preferences and project implementation requirements.

Of course, after deciding to use a certain framework, the entire team will gradually tend to accept it, no matter what framework it is. The important reasons why we decided to use Laravel in the new project are:

1. The team members are familiar with it and hate the inconsistency caused by the simultaneous development of multiple frameworks.

2. Helps to formulate development specifications and improve the overall development efficiency of the team

3. Facilitates the division and separation of internal projects

From one’s own situation Summarize the following advantages:

  • The framework structure and layers are clear, easy to get started
  • The components are rich and ready to use out of the box, such as queue, event, artisan, console, cache, etc.
  • The community is active and problems can be solved quickly
  • The framework is actively updated, which helps us keep up with the new usage methods and development concepts of PHP

Preparation work

Next I will use PHP8 Laravel8 to share the following articles

First, environment preparation is required:

  • Install Docker
  • Download code: https://github.com/nobody05/laravel-project.git
  • Use the Dockerfile in the project to build a local development environment

Frame list

##https://spiral.dev/docsZendFramework(not maintained)https://docs.laminas.dev/Yiihttps://www.yiichina.com/doc/guide/2.0ThinkPHPhttps://www.kancloud.cn/manual/thinkphp6_0/1037479CodeIgniter https://codeigniter.org.cn/user_guide/Hyperfhttps://hyperf.wiki/2.2/#/##EasyswooleYaf
##Framework

Learning Documents

Laravel

https://learnku.com/docs/ laravel/8.x

Spiral

https: //www.easyswoole.com/Preface/intro.html


Benefits recommendation at the end of the article

Code of this article: https://github .com/nobody05/laravel-project/releases/tag/v1.0

  • Reference documentation: https://learnku.com/docs/laravel/8.x
  • Video tutorials:
  • The latest five Laravel video tutorials

The above is the detailed content of There are so many PHP frameworks, why do you prefer Laravel8?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:toutiao.com. If there is any infringement, please contact admin@php.cn delete