Yes, PHP Is Worth Learning/Using in $Current_year

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • Cloudways - Managed Cloud Hosting Platform
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • swoole-src

    Programmatic server for PHP with async IO, coroutines and fibers (by openswoole)

    I would be a little bit careful while using swoole. They added some code that loaded code from a third party server [1] (a core developer who seems to be located in china). Even though it seems like they removed it doesn't bring a good feeling. It seems like there were also some disagreements with a contributor who maintained the website of swoole and he forked it [2]: https://github.com/openswoole/swoole-src

    [1] https://github.com/swoole/swoole-src/issues/4434

  • OmniPay

    A framework agnostic, multi-gateway payment processing library for PHP 5.6+

    I didn't know about this project for payment gateways from the article: https://github.com/thephpleague/omnipay

  • Cloudways

    Managed Cloud Hosting Platform. Cloudways leverages advanced technology and powerful servers. Cloudways is a one-click managed cloud hosting platform that provides cloud application and server management solutions.

  • HHVM

    A virtual machine for executing programs written in Hack.

  • Slim

    Slim Framework 4 Skeleton Application

    My team has been using the Slim Framework for years and it has servered us well for years. It is a microframework and follows most of the PSR standards so it is possible to replace libraries with relative ease.

    https://www.slimframework.com/

  • Deployer

    A deployment tool written in PHP with support for popular frameworks out of the box

    This is not accurate. While some shared hosts offer node or rails you will be limited by memory and it might not even run your app. The reason PHP is so good for shared hosting is that it runs per request and when you have rarely visited PHP application it requires basically no resources. You can have 100s of small websites sharing resources that get few visitors a day on single server and it will be fine. Try doing that with node or rails which are application servers that need to run all the time.

    Heroku is fine but imagine you are agency managing 50 small sites. Heroku is like 7usd month minimum? You can pay 350usd month for Heroku or put it all on 20usd VPS and result will be same.

    That's why all self-hosted CMSes worth something are in PHP world and there are very few in python/rails/node.

    Also its not like PHP devs have been living under a rock for 20 years and don't want nice things. Git deployment is offered even by many shared hostings, people use SFTP+rsync, or things like https://deployer.org/. And there is very active market of server management tools like https://forge.laravel.com/ https://ploi.io/ https://moss.sh/ that combined with attributes of PHP will give you your own little super easy heroku.

    And scaling... well most people don't need scale, you scale CMSes by caching anyway. And you can run pretty big scale just on one machine. And if you want automatic extreme scaling it's not like you can't do that with PHP https://vapor.laravel.com/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts