PHPnews.io

Overview for 'stitcher-io'

Laravel Beyond CRUD is here!

Written by Stitcher.io / Original link on Aug. 26, 2020

It's been over a year in the making and I happy to say it's here: the Laravel Beyond CRUD book and video course are now available. Regular followers already know what it is about, but I happily repeat it in case you're new. I've been writing and maintaining several larger-than-average web applicati…



My journey into event sourcing

Written by Stitcher.io / Original link on Jul. 25, 2020

In this post I want to share four talks that have guided me into the world of event driven development, and by extent into event sourcing. I wanted to share these talks here on my blog, because I figured some of you might be interested in them, and this way I can revisit them in the future. Startin…


PHP 8: named arguments

Written by Stitcher.io / Original link on Jul. 23, 2020

It was a close call, but named arguments — also called named parameters — are supported in PHP 8! In this post I'll discuss their ins and outs, but let me show you first what they look like with a few examples in the wild: setcookie( name: 'test', expires: time() + 60 * 60 * 2, ); Named arguments…


PHP 8: before and after

Written by Stitcher.io / Original link on Jul. 20, 2020

It's only a few months before PHP 8 will be released, and honestly there are so many good features. In this post I want to share the real-life impact that PHP 8 will have on my own code. # Events subscribers with attributes I'm going to try not to abuse attributes, but I think configuring event lis…


Shorthand comparisons in PHP

Written by Stitcher.io / Original link on Jul. 14, 2020

You probably already know some comparison operators in PHP. Things like the ternary ?:, the null coalescing ?? and the spaceship operators. But do you really know how they work? Understanding these operators makes you use them more, resulting in a cleaner codebase. Before looking at each operator…