A hot topic in recent years has been whether PHP is losing its leadership or even heading towards its end. After all, many Internet companies are trying other languages. Some languages cause us great concern. Golang is famous for coroutine (golang seems to be goroutine, coroutine is supported by C#, Lua, Python and other languages). Java is best suited for a perfect ecosystem. Python excels in computing and artificial intelligence. But what is certain is that PHP is not going to its grave.
We will analyze it in the following parts:
● PHP development
● PHP framework
● Packagist
PHP Development
PHP is always evolving. Many good programmers work on PHP. Therefore, a new version of PHP is released almost every year. Version 7.3 was released in 2018 and version 7.4 will be released in late 2019.
#PHP development is amazing. 7.0 rebuilt PHP's kernel. And with the addition of the new zend engine, PHP performance has increased by two to three times.
PHP Framework
The strength of a language is closely related to its framework. The following are the frameworks that developers have favored in projects over the years, such as Laravel and Yii. At the same time, Swoft, despite being an emerging framework, still attracts our attention and prompts us to learn it.
Laravel
Laravel is a PHP-based web framework that uses its deep and elegant syntax to build high-end web applications. It has a powerful set of tools and provides application architecture. More importantly, it includes features of multiple technologies, such as ASP.NET MVC, CodeIgniter, Ruby on Rails, and more. Laravel is an open source framework.
Laravel drives developer adoption by saving time and helping reduce the amount of thinking and planning that developers have to do when developing an entire site from scratch. Additionally, Laravel helps introduce basic security mechanisms into your application.
So, Laravel has all the features to speed up your web development. If you are familiar with the basics of PHP and master some intermediate PHP script programming, then Laravel can make it easier for you to complete your sophisticated works.
Recommended related learning resources:
● Learn Laravel 5.4 from scratch (Laracasts)
● Build a task list using Laravel and Vue
● Laravel framework introductory tutorial column
● Latest laravel mall practical video tutorial
##Yii
Yii is a generic web programming framework, which means it can be used to develop various web applications using PHP. Due to Yii's component-based architecture and its sophisticated support for caching, it is particularly suitable for developing large-scale applications, such as portals, forums, content management systems (CMS), e-commerce projects, RESTful Web applications, etc. Recommended related video tutorials: ●Chuanzhi Podcast Yii Development Large Mall Project Video Tutorial
●Yii2.0 Framework Development Practical Video Tutorial
Swoft
Swoft is a PHP high-performance microservice coroutine framework. It has been released for many years and has become the best choice for PHP. Like Go, it has a built-in coroutine network server and commonly used coroutine clients, is resident in memory, and does not rely on traditional PHP-FPM. There are similar operation methods of Go language, and some are similar to the flexible annotations of Spring Cloud framework.Packagist
One way to know if the industry still likes PHP is to survey its ecosystem: Packagist. As shown in the figure below, the number of PHP extension packages is growing rapidly in an exponential pattern. To date, the number of expansion packs has reached 223,217, for a total installation count of approximately 14,827,204,847. The PHP ecosystem is being rebuilt faster and faster.Conclusion
PHP is not going to its grave. You should take a good look at it and consider it carefully.