PHP in 2021

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • bref

    Serverless PHP on AWS Lambda

  • In a post called "PHP in 2021" we really can't omit https://bref.sh/ -- it allows running PHP apps on AWS Lambda and with all the serverless craze, it's a very important piece of the ecosystem.

    Amazon blogged about it at https://aws.amazon.com/blogs/compute/the-serverless-lamp-sta...

  • HHVM

    A virtual machine for executing programs written in Hack.

  • > With Hack's extensive static type checking and even contexts / coeffects

    Have you used contexts/coeffects?

    My understanding is that it's still yet to be fully rolled out to WWW, and nobody outside FB has yet played around with it. IMO it still has some DX issues (https://github.com/facebook/hhvm/issues/8828) and the examples given in documentation don't actually work in real life (https://github.com/hhvm/user-documentation/issues/1016).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • user-documentation

    Documentation for those that use HHVM and write Hack code.

  • > With Hack's extensive static type checking and even contexts / coeffects

    Have you used contexts/coeffects?

    My understanding is that it's still yet to be fully rolled out to WWW, and nobody outside FB has yet played around with it. IMO it still has some DX issues (https://github.com/facebook/hhvm/issues/8828) and the examples given in documentation don't actually work in real life (https://github.com/hhvm/user-documentation/issues/1016).

  • Nextcloud

    ☁️ Nextcloud server, a safe home for all your data

  • Ironically, Nextcloud is moving to Golang.

    https://github.com/nextcloud/server/issues/16726

  • discourse_docker

    A Docker image for Discourse

  • End users love PHP because you copy the files into a folder.

    That's certainly how people deployed web apps built by other people a decade ago, but these days isn't it more common to use something like Docker?

    Deploying a containerized app should be pretty much the same no matter what language it's written in. And Discourse does have a Docker container (https://github.com/discourse/discourse_docker), so I'm not sure the underlying language explains why it isn't popular.

  • Laravel

    The Laravel Framework.

  • Um... what?!

    Laravel has extremely comprehensive documentation:

    • General purpose docs: https://laravel.com/docs/8.x/

    • API-specific docs: https://laravel.com/api/8.x/index.html

    Laravel updates are released frequently (which is a good thing). Including 2 years of bug fixes, and 3 years of security fixes, for LTS releases:

    • Major version upgrades are clearly documented: https://laravel.com/docs/8.x/upgrade

    • Every new update has clear changelogs: https://github.com/laravel/framework/releases

    • Backwards-incompatible releases are annual: https://laravel.com/docs/8.x/releases#support-policy

    I would love you to point me to where Laravel's code quality leaves "much to be desired". The source code is, generally speaking, excellent.

  • FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

  • > framework is 10-100 times slower than others

    Seriously?

    This is the hill you want to die on?

    With swoole (laravel octane) you can up localhost from 200 reqs/sec to 6000+ .. I've tested phoenix and only gotten about 4600.

    But just going off "plain laravel"...

    According to techempower it STILL beats rails and django.

    https://www.techempower.com/benchmarks/#section=data-r20&hw=...

    > Overall, the official documentation is tutorial-oriented, with an abuse of videos. I have not worked with Laravel for more than 2 years, but at that time I could not find a public reference documentation

    The docs are geared more towards beginner/intermediate users most advanced users go to the API/class docs, and look at the underlying code to get an idea of how things work internally, if you haven't done that then you're definitely not going to know how everything ties together.

    Also there's plenty of plugins and an ide_helper package to generate metadata/etc to make it so you get damn good autocompletion in just about any ide and especially phpstorm, but I use vscode and used to use sublime both have great completions...

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • ex_twilio

    Twilio API client for Elixir (by postmates)

  • Discourse

    A platform for community discussion. Free, open, simple.

  • Look at the install instructions

    https://github.com/discourse/discourse/blob/master/docs/INST...

    Install docker, the thing that everyone uses now because it's easy.. but not the easy way, use our thing

  • haxe

    Haxe - The Cross-Platform Toolkit

  • Haxe does this https://haxe.org/

    Is it a better language with better workflow? Maybe. But I do know there are people using it in just this way.

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

  • Media Streaming with ReactPHP

    6 projects | dev.to | 16 Jul 2022
  • From a Single Repo, to Multi-Repos, to Monorepo, to Multi-Monorepo

    7 projects | news.ycombinator.com | 19 Aug 2021
  • How to let Guest user submit form only once in laravel?

    3 projects | /r/laravel | 31 Mar 2021
  • Deploying Laravel on Lamp Stack with Linux(Ubuntu)

    2 projects | dev.to | 9 May 2024
  • Backend-Genese: Von PHP zu Node.js & TypeScript (Teil 1)

    2 projects | dev.to | 8 May 2024