PHP 8.1.0 Release Announcement

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
  • unasync

    The async transformation code.

  • Fibers "allow blocking and non-blocking implementations to share the same API"

    That's an interesting contrast to Python where the need to use "value = await fn()" v.s. "value = fn()" depending on whether or not that function is awaitable causes all kinds of API design complexity, all the way up to the existence of tools like https://github.com/python-trio/unasync which can code-generate the non-async version of a library from the async version.

  • Amp

    A non-blocking concurrency framework for PHP applications. 🐘

  • like the sibling comment said, web apps are written in Symfony/Laravel, but the framework abstractions with web apps might not paint you a clear picture of how the core language has improved. it will give you a good idea what it's like to build applications.

    my favorite part of modern PHP is how nice writing libraries is. so it might not be what you're looking for, but I remember being pretty impressed with the code quality of the Amp PHP library recently. the v3 branch is 8.x only and (I believe) is targeting the Fibers feature just introduced in 8.1

    https://github.com/amphp/amp/tree/v3

  • 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
  • create-siler-app

    🧱 Set up a modern Siler app by running one command.

  • woocommerce-custom-orders-table

    Discontinued Store WooCommerce order data in a custom table for improved performance.

  • Swoole

    🚀 Coroutine-based concurrency library for PHP

  • > modern times to run php, people would use php-fpm with nginx, it is running multiple worker (single) process, so why would anyone [2], [3] wants multi-core coroutines in it? What does it even mean?

    Not everyone does. There's also https://reactphp.org (which is an event loop runtime, similar to Node), and https://amphp.org (also event loops), and Swoole https://github.com/swoole/swoole-src (coroutine runtime, similar to Go).

    Fibers are basically an API that event-loop runtime libs can use so that userland code doesn't need to use promises or generators to run non-blocking operations.

  • React

    Event-driven, non-blocking I/O with PHP.

  • > modern times to run php, people would use php-fpm with nginx, it is running multiple worker (single) process, so why would anyone [2], [3] wants multi-core coroutines in it? What does it even mean?

    Not everyone does. There's also https://reactphp.org (which is an event loop runtime, similar to Node), and https://amphp.org (also event loops), and Swoole https://github.com/swoole/swoole-src (coroutine runtime, similar to Go).

    Fibers are basically an API that event-loop runtime libs can use so that userland code doesn't need to use promises or generators to run non-blocking operations.

  • phpmiko

    A netmiko implementation in php

  • Not intended as a plug but you can even use php for network automation. I cobbled this together:

    https://github.com/epiecs/phpmiko for connecting to devices and https://github.com/epiecs/mikodo for inventories and concurrency

    The multi core coroutines comment is true but there are ways (to hack) around that.

    The way I solved concurrency is just by forking and using sockets:

  • SaaSHub

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

    SaaSHub logo
  • mikodo

    Concurrent library on top of phpmiko. Speeds up the process of sending commands. Libraries are bundled (or planned) to be able to use different providers such as Nornir yaml files, PhpIpam, etc..

  • Not intended as a plug but you can even use php for network automation. I cobbled this together:

    https://github.com/epiecs/phpmiko for connecting to devices and https://github.com/epiecs/mikodo for inventories and concurrency

    The multi core coroutines comment is true but there are ways (to hack) around that.

    The way I solved concurrency is just by forking and using sockets:

  • jigsaw

    Simple static sites with Laravel’s Blade.

  • https://github.com/tighten/jigsaw/blob/main/src/Jigsaw.php

    I also would argue that the majority of code I see in other languages is equally or worse than the example you gave.

    You can write terribly in any language, Laravel included.

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

  • Amphp 3.0.0

    1 project | news.ycombinator.com | 3 Jan 2023
  • Run PHP in WebAssembly on Netlify Edge Functions

    3 projects | /r/PHP | 11 Aug 2022
  • What framework utils you use to create website asap ?

    1 project | /r/node | 5 Aug 2022
  • PHP projects to get a web developer job

    1 project | /r/PHPhelp | 26 Jul 2022
  • Does php support co-functions that can update each other's static variables?

    1 project | /r/PHPhelp | 14 Jul 2022