PHPnews.io

Overview for 'stitcher-io'

Opinion-driven design

Written by Stitcher.io / Original link on Jun. 23, 2021

I once worked at a company that wrote and maintained an in-house framework. Over the course of ten years, they probably made around 250 websites and applications with it. Despite many shortcomings, the company kept using their framework for a simple reason: they were in control. Thanks to that cont…


What about config builders?

Written by Stitcher.io / Original link on Jun. 18, 2021

I've been tinkering with a hobby project lately: a small framework to get more familiar with PHP 8, and try out some random ideas floating in my head. It's nothing too serious, but it's a fun exercise. Most of these ideas are born from my daily experience with Laravel, and more specifically from th…



Why we need multi-line short closures in PHP

Written by Stitcher.io / Original link on Jun. 3, 2021

PHP 8.1 is already taking shape quite well, yet there's one feature I'd love to see added, that's still being discussed: multi-line short closures. The RFC calls them "Auto-capturing multi-statement closures" but I hope you don't mind me using the somewhat shorter name. If you're on an actively sup…


Running PHP code in parallel, the easy way

Written by Stitcher.io / Original link on Apr. 28, 2021

Less is more. You've heard that before, right? Keep it in mind, I'm going to show you something. There are a few good and robust solutions to run PHP code in parallel already; and yet, we've made our own implementation. I want to explain why. First, let's set the scene: I want to run PHP code in pa…


PHP in 2021

Written by Stitcher.io / Original link on Apr. 15, 2021

Once a year, I look back at the recent developments in the PHP world, and also look forward to what's to come. And just like in 2020 and 2019, we're at it again! Like I said time and time again: PHP isn't the same language it was ten years ago, and we're very thankful for that. It's a fast and reli…