PHP
Modern web apps without JavaScript bundling or transpiling
We’re way overdue a correction back to simplicity for the frontend. ES6/HTTP2/Import maps looks like they’ll deliver just that. Read more
We’re way overdue a correction back to simplicity for the frontend. ES6/HTTP2/Import maps looks like they’ll deliver just that. Read more
A static analyzer helps you to find bugs in your code without even running it. Popular static analyzers for PHP are Psalm and PHPStan. In this post, we’re going to look at what such a Read more…
I’ve been creating web applications for over 15 years now. It’s only in the last five years that I’ve learned how to test an application automatically. I can safely say that there is no other Read more…
[AdSense-A]
In this video, which is part of the Testing Laravel video course, I explain to cool ways to test middleware in Laravel.
In this video, we're using Pest, but you can easily use the techniques in a PHPUnit testsuite as well.
(more…)Flare runs on a few different servers that each produce their own logs. In this post, you’ll learn how you can combine multiple logs in a single stream. Read more
Native PHP functionality and having a good design in the first place provide everything you need to avoid a mocking library. Read more
Seeders are a great way of creating fixture data, as well as dummy data, for your development environment. Let me show you how we can make them even better. Read more
If you’re into React, you’ll appreciate these patterns for working with uncontrolled components Read more
This post exmplains how you can work with iterators and generators as if they were arrays. Read more