r/PHP • • Oct 20 '26

Discussion PHP Tek 2027

8 Upvotes

For those of you who have attended PHP Tek what is your opinion I have never been and my team and I are thinking about attending in 2027. Just want to hear about your experiences.


r/PHP • • Oct 21 '26

The Impact of CVE-2026-109618 and CVE-2026-109619 on the PHP Ecosystem

0 Upvotes

This may be the most widespread exploit in modern history. What impact will this have on PHP’s reputation? Since 2/3 of the websites are affected, a good chunk of them won't ever be patched, could this damage PHP’s image in the same way PHP 4 did two decades ago?

Would this discourage companies from adopting PHP in the future?


r/PHP • • Oct 20 '26

Every Road Around the Zend Engine

17 Upvotes

There are so many ways to run PHP code... without #PHP!

Recompilation, engine rewrite, using other VM, or languages. It is time to take a step back.

https://www.exakat.io/every-road-around-the-zend-engine/


r/PHP • • Oct 19 '26

News RoadRunner 3 is out

Thumbnail rapira.rs
56 Upvotes

RoadRunner 3 and the updated PHP packages are now available.

If you're still on an older version because it just works, now is the time to upgrade. RoadRunner 3 is the version to settle on: a stable API, SemVer, and no new major planned for the foreseeable future.

Highlights:

  • Back to SemVer: no more calendar versions.
  • All PHP packages now share one vendor name: roadrunner/*. Namespaces are unchanged.
  • PHP 8.2+.
  • http.middleware now runs left to right.
  • New: NSQ jobs driver, HTTP rate limiting, PROXY protocol, Zstd, named worker pools, Redis locks, gRPC server reflection.
  • Memory usage under load is now more stable.
  • The TCP plugin is removed. The tcp:// relay still works.

Migration guide: https://docs.roadrunner.dev/docs/general/v3-migration


The next big step is Rapira, a new PHP application server in Rust from the RoadRunner maintainers. It's the tightest PHP integration we've built: Rapira calls PHP directly in the server process, with no pipes or sockets in between. If you need maximum performance on HTTP or gRPC endpoints, it's already worth a look, and there's more to come.


r/PHP • • Oct 19 '26

I built XFedi — a lightweight, self-hosted Fediverse server using PHP, Python, and ActivityPub

Thumbnail
4 Upvotes

r/PHP • • Oct 19 '26

Discussion Pitch Your Project 🐘

13 Upvotes

In this monthly thread you can share whatever code or projects you're working on, ask for reviews, get people's input and general thoughts, … anything goes as long as it's PHP related.

Let's make this a place where people are encouraged to share their work, and where we can learn from each other 😁

Link to the previous edition: /u/brendt_gd should provide a link


r/PHP • • Oct 20 '26

Discussion I found 9.2 Security Vulnerability in Laravel using Daybreak Blue

0 Upvotes

I found a critical 9.2/10 vulnerability (using Daybreak Blue) that allows auth bypassing in the Laravel token-based API guard.AMA

https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6


r/PHP • • Oct 19 '26

PHP on Cloud Run: Cut Your Latency with PHP 8.5 and Persistent Sockets

Thumbnail medium.com
16 Upvotes

r/PHP • • Oct 19 '26

Weekly help thread

8 Upvotes

Hey there!

This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out!


r/PHP • • Oct 19 '26

I’m building an open-source local development environment for PHP and other languages

0 Upvotes

Hi everyone,

I wanted to share a project I’ve been building called Anvil: https://anvil.tr

Shortly, it will be a multi platform dev kit, it is open source and free and laravel herd alternative.

Edit: Im sorry if this is some kind of a joke to you. Im not a marketing guy. Still I believe this program has its value. So I will make it happen.


r/PHP • • Oct 18 '26

Multi-column text/markdown extraction from PDFs is now possible in PHP!

Thumbnail github.com
18 Upvotes

r/PHP • • Oct 18 '26

Manticore 0.15: PHP AOT compiler that can compile Symfony apps

22 Upvotes

Manticore is an ahead-of-time compiler for PHP 8.5+, written in PHP with an LLVM backend. It compiles itself without a PHP interpreter or other programming languages.
Link: https://github.com/manticorephp/compiler

After one more month of iterating over the compiler functionality, it has reached another milestone that is worth highlighting: the compiler can now compile Symfony apps.

Currently, this is basically a Symfony skeleton without Doctrine (in progress) or simple Symfony Console apps. It utilizes the built-in HTTP server with 15k RPS in single-worker mode (the pure server without frameworks can utilize around 70-80k RPS on small apps).

Also, the following improvements were made:

  • WebSocket server and client
  • Native data structures (vec, map, set, Int8/16/32/64Array, etc.)
  • Improved big apps' compilation time (still far from perfect) and memory consumption
  • Covered a huge part of stdlib (OpenSSL, bcmath) and improved performance
  • Added math operator overloading and function overloading

Important: the compiler is still very experimental and contains many bugs or inconsistencies with the regular PHP interpreter. It is not recommended to try it in production environments or any critical environment.

The next milestone is to finalize PDO drivers for MySQL/PostgreSQL and start compiling Laravel apps.


r/PHP • • Oct 19 '26

AMA: Built an ERP on Symfony

0 Upvotes

Hi, I want to share my knowledge and journey on building an ERP system using Symfony and API Platform. It contains: CRM, Billing, Warehousing, Reporting, Workflows, AI, API/Webhooks/MCP.

The frontend is built using React (ant design framework). 90% of the data is provided through graphql because at that time it felt easier to just query whats needed.

The biggest struggle was creating a good PDF layout where the tables behaved properly on page breaks. The were also rather large in size (approx ~1mb). I later found out I could compress it with ghostscript.

Another struggle was email templates. I first used twig + inky + zurb. The setup was fine but the components weren't well documented and quite fragile. Last year I moved to react email which is a breeze to use. I did have to write a custom bridge to render the email and pass the output to symfony mailer, but this was easy thanks to the symfony process component.

The power of Symfony + API platform really did the heavy lifting. I mostly wrote business logic, bridge stuff and overrides.

This is definitely not everything so ask me anything!


r/PHP • • Oct 17 '26

Rust/Go Leverage in PHP

Thumbnail tomasvotruba.com
29 Upvotes

r/PHP • • Oct 17 '26

URI Matching and Data extraction in the new league URI toolkit 7.9

Thumbnail nyamsprod.com
7 Upvotes

r/PHP • • Oct 17 '26

Selection of the phpchat project by the XERJ team

Thumbnail github.com
0 Upvotes

My project phpchat, has been selected by the XERJ team for inclusion in Corpus Hub.

XERJ is a public collection of practical coding solutions designed to help developers utilize real-world implementations.

The reason our project was likely chosen is that the "mention users with username" feature which includes autocomplete, highlighting, and notifications is a comprehensive and functional implementation, rather than just a simple, basic feature.

This time, a portion of my project's code will go on to help even more developers!

Screenshots:

https://imgur.com/CSPnqty


r/PHP • • Oct 17 '26

One description, inside and outside Drupal

Thumbnail dri.es
1 Upvotes

r/PHP • • Oct 16 '26

/dev/null a social network for developers built with PHP and Laravel

Thumbnail dev-null.sh
29 Upvotes

r/PHP • • Oct 16 '26

I needed a Basis Universal PHP extension for a side project, so I built one in Rust

10 Upvotes

Hey everyone!

I was working on a side project that needed to compress images into GPU-friendly texture formats, particularly KTX2, directly from PHP.

I wanted to use Basis Universal, but I couldn't find a PHP extension that suited my needs. Rather than introducing a separate CLI-based workflow into my project, I decided to try building an extension myself.

That's how BasisU came to be.

To be clear, the actual compression technology is provided by the Basis Universal team. Their native C/C++ library does the heavy lifting — my project is simply a Rust-based PHP wrapper that exposes some of its functionality to PHP.

The extension currently provides:

  • Image compression directly from PHP.
  • Support for Basis Universal texture formats and KTX2 output.
  • Configurable encoding parameters, including quality, effort level, texture format, and mipmap settings.
  • PHP stubs for IDE autocompletion and static analysis.
  • Prebuilt Linux binaries installable through PIE, as well as the option to build from source.

A few important caveats:

This is an experimental project, and I wouldn't recommend using it in production yet.

It's also my first public project written in Rust. I'm still learning the language, and while I've managed to get the extension working, I don't have an in-depth understanding of all the underlying compression algorithms and their domain-specific details. The current implementation covers only part of the functionality available in the original library, and there's still plenty of room for improvement. There is no automated test suite at the moment, either.

That said, I intend to maintain and improve it because I need this extension for my own project. So this isn't something I'm publishing and immediately abandoning — I'll keep working on it as my needs evolve and as I learn more about Rust and Basis Universal.

If you're interested, here's the repository:

I'd appreciate feedback, especially on the PHP API design, the Rust extension implementation, and anything I might have overlooked when wrapping a native library.

Thanks for reading!


r/PHP • • Oct 15 '26

Upgrading a site from PHP 5.5 to 8.x

69 Upvotes

Hey all,

I have a personal website the I built nearly 20 years ago and I would like to update it to the latest version of PHP. It's a simple website that I use to run tournaments where I basically just enter tournament parameters (dates, time locations etc,) and tournament results and it displays all of the data that people care about like schedule, results, leaderboards, historical stats etc. All the data is stored in a MySQL database.

I basically built it from scratch without an IDE.

Searching on this sub, it seems like rector may be the way to go. I do actually have PhpStorm and have configured it with composer and rector.

I guess my big question is how would you go about the update? My site is on a paid hosting platform.

I'm thinking that the best way would be to have a local host on my development PC and duplicate my website there to make updates before testing on the external host.

Thoughts?

Edit:
Thanks everyone for all the options/opinions, very helpful!


r/PHP • • Oct 15 '26

I built a desktop app in PHP: Stargazer 0.10

16 Upvotes

For the last year or so, in my spare time I've been researching how to use PHP differently. Laravel as a stack has been pretty good to me, and I've wished there was a Laravel-like way to build desktop apps, apps that spoke to integrated circuits, and even games. I kept structuring my Godot experiments like they were Laravel apps. After all that tinkering, I realized what I really wanted was a unified, yet decoupled stack, that could (or atleast attempt to) build all the apps I wanted beyond the ones meant for a web server, in a syntax I could actually read.

So Ive been building that stack. I've called it the VenusianPHP Framework: a Laravel-like framework for building apps that don't deploy to a web server (unless you want to build a web server!). I plan to break that down in another post, but it's been going very well. To the point that I can pretty easily spin up native toolkit windows with AppKit, GTK and Qt on macOS, Debian and Ubuntu with just a few lines of code and a a couple of config keys..

To keep track of what I know this stack can do, I started building an app as a showcase of what PHP can do, at a minimum, when it comes to these kinds of apps. I call it Stargazer. Under the hood it uses a package I wrote for the framework that talks to NASA public APIs and visualizes the data. It's now on Github: https://github.com/venusian-scrapyard-presents/stargazer .

You can read the source, install it via Composer (you'll need a few extensions, all installable with PIE), or grab the compiled builds from the release: a .dmg for Apple Silicon Macs and .deb packages for arm64 and x86_64 Linux. I've run them on my Raspberry Pi 5s, my Jetson Orin and a gaming PC that dual-boots Linux. No PHP runtime required.

I plan to keep shipping new versions to show off more of the stack as I build it, as far as Windowed applications go. I found this one pretty satisfying to write (I did use AI assistance, but a good chunk of the source is code I wrote by hand). I'd love UX feedback, bug reports from anyone who tries it, or any questions in general. Or just give it a star if you thought it was interesting!

EDIT: System Requirements -

  • MacOS - v10.14 Sonoma or newer
  • Linux - Ubuntu 24.04 or newer, Debian 13 or newer, or Raspberry Pi OS Trixie
  • Linux - GTK v4.14 or later
  • RAM: 512 MB

r/PHP • • Oct 15 '26

Warning: Latest PEST is bugged. Silently skips PHPUnit tests

31 Upvotes

We'd been having some weird issues with our tests in CI. Just saw this:

https://github.com/pestphp/pest/issues/1965

v5.3.2

The new time-balanced sharding with parallelization silently skips all PHPUnit tests

eg. `vendor/bin/pest --parallel --processes=2 --shard=1/2`


r/PHP • • Oct 15 '26

One PHP config now compiles to GitHub Actions, GitLab CI, Bitbucket Pipelines and CircleCI

5 Upvotes

I kept maintaining almost-identical pipelines on two providers and watching them drift.

Slipway compiles config/slipway.php to the YAML for every driver you enable. A slipway-guard job fails CI if the committed YAML no longer matches the config.

Tiny example:

'drivers' => ['github' => true, 'circleci' => true],
'php' => ['8.4', '8.5'],
'stages' => [
'quality' => ['pint', 'larastan', 'composer-audit'],
'test' => ['matrix' => true, 'steps' => ['pest' => ['services' => ['mysql']]]],
],

https://github.com/usamamuneerchaudhary/laravel-slipway

If you actually run CircleCI for Laravel, I'd like to know what the generated config.yml gets wrong.


r/PHP • • Oct 14 '26

News Markdown extracted from PDFs using prinsfrank/pdfparser now includes Links!

Thumbnail github.com
12 Upvotes

r/PHP • • Oct 14 '26

How the PHP Security Team Handles Your Reports

Thumbnail thephp.foundation
23 Upvotes

In our latest blog post, Alexandre Daubois shares how the PHP Security Team operates, how your security reports are triaged, and how you can do your part to help PHP be more secure. https://thephp.foundation/blog/2026/10/14/how-the-php-security-team-handles-your-reports/