Pavel Buchnev

1.1K posts

Pavel Buchnev banner
Pavel Buchnev

Pavel Buchnev

@ButscH

Senior #PHP Developer | Contributor to @spiralphp Framework 🚀 | Enthusiast of long-running applications | Creator of @buggregator | #CTX developer

Spain Joined Kasım 2008
248 Following514 Followers
Pavel Buchnev
Pavel Buchnev@ButscH·
@Terabytesoftw Also check out Buggregator. Not a package — a standalone server. Your app literally doesn't know it exists. Just redirect your existing Sentry/VarDumper/Monolog SDKs with one .env change. Free, open source. buggregator.dev
English
1
0
2
193
Wilmer Arambula
Wilmer Arambula@Terabytesoftw·
PHP debugging in 2026 be like: 👉 Laravel 👉 Symfony 👉 Yii2/Yii3 Same panel. Same power. Zero excuses. If your dev experience still sucks… it’s not PHP 👀 ⭐ Give it a star → github.com/app-dev-panel/…
Wilmer Arambula tweet mediaWilmer Arambula tweet mediaWilmer Arambula tweet media
English
3
8
96
9.5K
Pavel Buchnev retweeted
Daniel Newns
Daniel Newns@DanielNewns·
It's Friday once again! Another great week of content. It was also the first Laravel London since it's reboot, the event went really well and we cant wait for the next one. So lets get down to the top ten @laravelphp and @official_php things I've found this week. In 🥇 place this week we have @ButscH "The memory pattern every PHP developer should know about long-running processes" - This was a great post on how PHPs memory allocation works and how that now PHP is being used a lot more for long running process we can start to design our code to help fix some of the problems that can happen with long running PHP process and memory allocation this is particularly useful for things like Laravel Queues - t.ly/6ZHLW . In 🥈 place this week we have @davidhemphill with "Using the Decorator Pattern in Laravel" - Another great post outlining another design pattern we can use in our PHP applications. The decorator pattern is one we have used a few times at jump24 and we can see the benefits of using. David highlights some great examples of where and when it could be applicable in your codebase - t.ly/MqdFc In 🥉 place this week we have @CodeWithKyrian with "PHP Fibers: The Missing Piece for Elegant Cooperative Multitasking" - We’ve had Fibers in PHP since 8.1, I’ve yet to use them so this post was a good read for me. Kyrian talks about Fibers in PHP he goes into detail showing examples of using Fibres and how it works so if Fibers have interested you and you've not had a chance to use them give this a read - t.ly/uVIFl 🥇 @ButscH - "The memory pattern every PHP developer should know about long-running processes" - t.ly/6ZHLW 🥈 @davidhemphill - "Using the Decorator Pattern in Laravel" - t.ly/MqdFc 🥉 @CodeWithKyrian - "PHP Fibers: The Missing Piece for Elegant Cooperative Multitasking" - t.ly/uVIFl 4️⃣ @BurtDS - "A Guide to Laravel Queues: Building Scalable, Performant Applications" - t.ly/ka_dv 5️⃣ James Seconde - "Monitor Your Webhooks with Laravel Nightwatch" - t.ly/5WJks 6️⃣ @JohnONolan is this weeks Customer story over on the Laravel blog - "14M Requests, 1 Engineer: How Ghost Runs a 50,000-Site Directory on Laravel Cloud" - t.ly/vZVFU 7️⃣ @carlos_granados - "lnkd.in/e3C4Nw3h" - t.ly/qeKeL 8️⃣ @ollieread - "Manual Service Resolution in Laravel" - t.ly/fqs72 9️⃣ @nicodevs - "Build Your Own Private, Self-Hosted AI Applications with Ollama & Laravel" - t.ly/JOFe8 🔟 @harrisrafto - "Static Analysis Secrets - Laravel In Practice EP13" - That's it for this week hopefully there is something there for everyone to enjoy reading. Don't forget to tag your posts with #PHP or #Laravel for a chance to be in next weeks top ten. Thanks for reading and let me know in the comments what your favourite read is or what you might have found this week.
English
0
6
23
5K
Ludovic Guénet 雷
Ludovic Guénet 雷@LudovicGuenet·
@cosmastech @ButscH @ButscH its absolutely fantastic! I learned so much from it. would you mind if I recorded a video in French about it (on my ytb channel Laravel Jutsu)? Id love to give you a big shout-out and mention your name and article throughout the video
English
1
0
4
416
Pavel Buchnev
Pavel Buchnev@ButscH·
🚨 10 users clicked "Download" and our entire PHP site died for 2 minutes. The problem? Workers blocked by long-running builds. The solution? A #roadrunner middleware plugin that offloads heavy ops to Go while #PHP stays responsive. @butschster/how-we-stopped-blocking-php-workers-a-roadrunner-plugin-story-30766ce24b62" target="_blank" rel="nofollow noopener">medium.com/@butschster/ho…
English
0
0
3
182
Pavel Buchnev
Pavel Buchnev@ButscH·
Recently I needed to build a console UI for one of my #PHP applications, so I decided to recreate classic midnight commander vibe, fully compatible with #Symfony Console and any PHP framework. #laravel, #spiral, #yii Drop your ideas about desired extensions in the comments!
English
0
0
1
81
Pavel Buchnev
Pavel Buchnev@ButscH·
@CodeWithKyrian Why don't just throw an Exception in case if you have error and need to stop execution?
English
1
0
4
183
Kyrian Obikwelu
Kyrian Obikwelu@CodeWithKyrian·
Recently fell in love with this little pattern: return [value, error] from a function → destructure → check error → move on. Super clean and no awkward booleans. Inspired by Rust’s Result<T,E> but DIY in PHP 😉
Kyrian Obikwelu tweet media
English
9
4
31
2.7K
Temporal
Temporal@temporalio·
👀 “Wait… Temporal powers @OpenAI's async workflows?” Yes, really. OpenAI uses Temporal to run complex, multi-step workflows reliably at scale. If they trust us to keep things running, imagine what we can do for you. 👉 t.mp/3Spcq5n
Temporal tweet mediaTemporal tweet media
English
3
26
206
40.3K
Pavel Buchnev
Pavel Buchnev@ButscH·
@rmcdaniel_ @temporalio @OpenAI Here’s a post about RoadRunner and what it brings to Laravel developers and how it can help you build real distributed systems: @butschster/building-true-distributed-systems-with-roadrunner-and-laravel-c018fbf0b643" target="_blank" rel="nofollow noopener">medium.com/@butschster/bu… It’s not just for fun — it’s about building real, scalable systems.
English
0
1
3
35
Richard McDaniel
Richard McDaniel@rmcdaniel_·
@ButscH @temporalio @OpenAI Actually, it is not Temporal that is the pain point for Laravel users because they offer a cloud solution. But you still have to use RoadRunner which is not fun 😬. You might not like it but there is a reason 1 guy with a repo can get 1k stars competing against a giant company.
English
2
0
0
94
Pavel Buchnev
Pavel Buchnev@ButscH·
@rmcdaniel_ @temporalio @OpenAI A PHP package — even with all the GitHub stars — can’t magically offer durability or reliability. It’s just stars, not guarantees. The Temporal team spent over 20 years building what it is today — and it delivers much more than popularity.
English
1
0
0
53
Pavel Buchnev
Pavel Buchnev@ButscH·
@rmcdaniel_ @temporalio @OpenAI One more thing — I couldn’t find a way to manage retry policies for workflows. If a workflow fails, there doesn’t seem to be a built-in way to retry it.
English
0
0
0
29
Richard McDaniel
Richard McDaniel@rmcdaniel_·
And if you're using Laravel/PHP you can get the same features using Laravel Workflow without all the extra infrastructure, no RoadRunner, no Temporal cluster. Our API is fairly compatible with Temporal, so switching is an easy path. Start simple, grow if you need to.
English
6
0
4
1.4K
Pavel Buchnev
Pavel Buchnev@ButscH·
@rmcdaniel_ @temporalio @OpenAI 1/ Laravel Workflows use the traditional PHP queue system — which is simple, but comes with a few architectural trade-offs worth keeping in mind 👇
English
3
0
0
56
Pavel Buchnev
Pavel Buchnev@ButscH·
@rmcdaniel_ @temporalio @OpenAI 3/ Task Distribution Workers compete for tasks by polling the broker independently. This can cause uneven task handling and wasted resources.
English
0
0
0
20
Pavel Buchnev
Pavel Buchnev@ButscH·
@rmcdaniel_ @temporalio @OpenAI 2/ Connection Management Each PHP worker opens its own connection to the queue broker. More workers = more connections = more load on the broker.
English
0
0
0
19
Pavel Buchnev
Pavel Buchnev@ButscH·
@rmcdaniel_ @temporalio @OpenAI I think calling it “fairly compatible” might be a bit of a stretch. Copying some class names and a few method signatures doesn’t make it truly compatible — the SDKs are quite different in how they work and what they offer.
English
1
0
0
44
Pavel Buchnev
Pavel Buchnev@ButscH·
@rmcdaniel_ @temporalio @OpenAI I tried running 600 parallel workflows with a 1-minute Sleep, and it ended up triggering after 9 minutes. That kind of delay is hard to manage without proper infrastructure.
English
1
0
1
46