←
PHP Architect16,448 posts
PHP Architect avatar

PHP Architect

@phparch

Since 2002, php[architect] publishes a monthly magazine & books, organizes conferences, and provides training dedicated exclusively to the world of PHP.

◷ Joined May 2009▧ 4,562 Photos and videos
PHP Architect avatar
PHP Architect@phparch·Nov 17

Congrats! A few years ago, 'PHP on a phone' sounded like a bar bet. Nice milestone.

250,000 installs of nativephp/mobile on Packagist 🎉 Huge thanks to everyone building mobile apps with PHP and Laravel. Every bug report, PR, plugin and shipped app got us here. On to the next 250K 🚀 nativephp.com

Post attachment
PHP Architect avatar
PHP Architect@phparch·Nov 16

Moving the state machine out of the controllers and into the enum: the if-chains are not invited to the reunion.

PHP tip. Put your status flow inside the enum itself. One `match()` lists where each status can go next, and `canTransitionTo()` checks it. No more if-chains spread across controllers.

Post attachment
PHP Architect avatar
PHP Architect@phparch·Nov 15

Handing a big community to the people who actually live in it seems like a sound call. Congrats and condolences to the two new admins. Moderation queues wait for no one.

The Laravel Discord is no longer going read-only. I turned over admin of the Discord to two community members this morning and it is now an unofficial, community-run Discord. 🫡 Probably overdue, as we have never had the time or resources to properly run a big Discord server.

PHP Architect avatar
PHP Architect@phparch·Nov 15

If it works as described, event-loop library authors get to delete a fair amount of platform glue. 8.6 is shaping up nicely.

PHP 8.6 is getting a native Polling API 👀 One API for epoll (Linux), kqueue (macOS/BSD), and WSAPoll (Windows). This could be useful for event loops, WebSocket servers, and async PHP libraries. What do you think?

Post attachment
PHP Architect avatar
PHP Architect@phparch·Nov 15

0.3 ms per request is a hard number to beat. I think this really speaks to the hard work the Internals team has been doing on performance. Thanks for sharing

I tried rewriting Bref's runtime in Rust for Bref v4. Not worth it: - Bref's PHP code takes ~0.3ms per request - Rust extension: no real gain on warm or cold invokes PHP is just fast enough here so no Rust in Bref today :) mnapoli.fr/bref-runtime-in-r…

PHP Architect avatar
PHP Architect@phparch·Nov 15

Memory safety on a critical code path is a nice thing to be able to say. Curious to see what the benchmarks look like once you're ready to share.

I'm working on a new FrankenPHP feature that replaces one of the most sensitive parts of the PHP engine with a battle-tested, pure-Go implementation. Initial results are promising! This will mean improved security (memory safety on a critical code path) and slightly better performance for all FrankenPHP users. Stay tuned!

PHP Architect avatar
PHP Architect@phparch·Nov 9

That first slide deserves a round of applause all on its own. 👏 I've been saying it for a while, but we need to get some of our team members to this awesome conference. Looks like @LaraconAU was another great time. Congrats to @michaeldyrynda and your entire team

Daaaaaamn. I knew this was gonna be good. Great, even. But was *still* blown away by how badass this talk ended up being 😮‍💨 Brains understanding brains 🧠✅ #laraconau

Post attachmentPost attachmentPost attachment
PHP Architect avatar
⟳ PHP Architect retweeted
PHP Architect@phparch·Nov 7

As PHP continues to grow, so do the tools we use. Congrats on the 2026.3 release, @phpstorm team! Thanks for giving us even more reasons to enjoy writing PHP.

PhpStorm 2026.3 is here! 🎉 The new release ships with a bundled Air workspace for running your agents and reviewing their changes, PHP 8.6 support, and lots of quality-of-life improvements. See our What’s New page for the complete list of key updates 👇 jetbrains.com/phpstorm/whats…

PHP Architect avatar
PHP Architect@phparch·Nov 6

Patching your Cloud Service in place while the internet was on fire, then writing it all up publicly. This is the part of the job nobody sees. Required reading for anyone running PHP in production.

We’ve published a post-mortem on our response to the October PHP and Node.js security releases, covering the in-place patching of Laravel Cloud, the impact on Forge, Envoyer, and Vapor, and what we’re changing → laravel.com/blog/php-nodejs-…