1620 1225 1329 1010 1148 1375 1002 1377 1634 1405 1520 1103 1187 1257 1096 1383 1172 1419 1995 1879 1695 1123 1750 1829 1867 1707 1638 1477 1076 1532 1738 1757 1590 1954 1396 1921 1978 1916 1226 1256 1648 1176 1437 1630 1911 1146 1302 1852 1725 1105 1670 1278 1913 1582 1386 1741 1127 1868 1811 1689 1711 1165 1545 1085 1302 1163 1253 1942 1363 1644 1605 1962 1704 1035 1225 1167 1050 1319 1854 1996 1614 1206 1554 1966 1998 1428 1727 1074 1820 1539 1053 1149 1303 1775 1004 1982 1634 1678 1225 PHP in 2021 (video) | PHPnews.io

PHPnews.io

PHP in 2021 (video)

Written by Stitcher.io / Original link on Jan. 24, 2022

Back in December, I made this video looking back on PHP in 2021. You can watch it (make sure to like and subscribe if you liked it), or you can read the transcript here if you don't like watching videos.

It’s the end of 2021 and I still hear some people say they think PHP is dead. They are wrong, let’s talk about that.

Let’s start with the language itself. It’s been actively developed for the past decade, with a new release every year. And just to name a few features that have been added recently:

And these are just my favourites, there’s much more. All of that to say that PHP is a rich language these days. On top of that, static analysis has grown in popularity over the years, allowing for generics, closure definitions and quite a lot more; and we see more and more people and projects adopting static analysis tools like Psalm and PHPStan. It’s quite powerful.

Finally, when it comes to the language itself: just recently the PHP foundation was announced. A non-profit with the goal to support, promote, and advance PHP. They are backed by companies like

just to name a few. Their only focus is to be able to pay core developers so that they can work on PHP full time. The foundation was announced less than a month ago, and has raised Two hundred forteen thousand dollars to date, with a yearly goal of slightly less than three hundred thousand.

Besides the language itself — which I can assure you is stable and very much alive — PHP has a large and active community. Packagist is the most popular package manager, and has a total of almost fifty billion downloads. With around one point five billion new downloads each month.

Next there are the immensely popular web frameworks live Symfony and Laravel, and CMSs like WordPress and Craft.

There’s also the async community — don’t be mistaken: PHP can perfectly run asynchronously like for example you’d do with node. There’s Swoole and RoadRunner which are low-level components that optimize PHP’s runtime for asynchronous programming, but there also are high-level packages that you can plug into any project: packages like Amp and ReactPHP.

Finally, PHP is just a fun language to work with. It’s mature, performant, has a huge community, and is actively developed. I like working with PHP. You might prefer other languages which is totally fine, but there’s absolutely no reason to say that PHP is dead. It’s very much alive.

stitcher.io

« Deploy your PHP Codebase with Ansible and GitHub Actions - Highlights from Git 2.35 »