PHP Architect (@phparch) header
PHP Architect (@phparch) profile picture

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

San Diego, CA
Joined May 2009
Photo by PHP Architect (@phparch)Photo by PHP Architect (@phparch)Photo by PHP Architect (@phparch)Photo by PHP Architect (@phparch)Photo by PHP Architect (@phparch)Photo by PHP Architect (@phparch)Photo by PHP Architect (@phparch)Photo by PHP Architect (@phparch)Photo by PHP Architect (@phparch)Photo by PHP Architect (@phparch)
Really like the purple. Hope they keep it.
84
Replying to @phpmagnet
Welcome back. We have some new coffee in the break room. Jill in accounting had her baby. Did a few PHP major releases. AI has gotten cra-cra. Besides that, everything is still pretty much the same. Let us know if there is anything we can help you with.
2
114
Replying to @PerttiSoomann
Totally agree. We know @shocm is a huge fan of Enums
11
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
1
1
30
987
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.
1
2
25
1,545
We got SOC 2 Type 2 certification earlier this year. No small feat, congrats on all that. We don't have a DOOM pimp, but we did release a new version of our website, so check that out. phparch.com
1
1
54
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.
10
1,067
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?
1
2
47
2,084
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…
1
1
7
1,100
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!
7
1,148
If you haven't seen @ShaneDRosenthal talk about what they've done with @nativephp, you need to take some time to watch this talk. Brilliant work
💬 Tell a PHP developer something can't be done and see what happens. @ShaneDRosenthal takes NativePHP beyond the WebView and into fully native mobile UI. Watch here → youtu.be/3a0kM1q5csk
6
411
Replying to @joshcirre
Thanks for everything you've contributed to the community. Looking forward to seeing what comes next.
1
156
PHP Architect retweeted
Replying to @phparch
Thank you for having me on your Podcast to talk about accessibility solutions for coding! The slides from my @LonghornPHP talk can be found here: joind.in/event/longhorn-php-…
1
2
207