Making our Laravel test suite in Oh Dear ready for parallel testing
Using the new parallel testing feature that recently landed in Laravel, we managed to run the Oh Dear testsuite about four times faster.
Read more [ohdear.app]
Using the new parallel testing feature that recently landed in Laravel, we managed to run the Oh Dear testsuite about four times faster.
Read more [ohdear.app]
Using @LaravelLivewire it is incredibly easy to display real-time progress of batched jobs! 🔥
— Willem Leuverink (@gwleuverink) January 18, 2021
Just drop in this simple trait & blade component and you're off to the races #hottip pic.twitter.com/I6K1zalzeJ
Read more [twitter.com]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
– stitcher.io - submitted by Brent
PHP 8.1 is currently in active development and will probably be released somewhere around the end of November 2021. We already know some features, changes and deprecations, so let's go through them one by one.
Read more [stitcher.io]
Using our laravel-mail-preview package, you can quickly display mails that are sent by your Laravel application in your browser.
Today, we've released v5 of the package. In this blog post, I'd like to tell you all about it.
– releasecandidate.dev - submitted by Peter
Here's a simple approach on how to use cookies with AlpineJS
Read more [releasecandidate.dev]
Learn how to deploy your Laravel application without any down-time using Github Actions. This technique works for almost any application (Symfony, WordPress, you name it).
Read more [philo.dev]
In this post, Kai takes a look at how you can write tests to ensure consistent behavior across all implementations of an interface.
Read more [www.kai-sassnowski.com]
Here is the recording of Laravel World Wide Meetup #5.
Tony Messias showed the magic of Hotwire in Laravel. Kevin McKee shared an very elegant way to implement single database multi tenancy.
In almost every Laravel package, there is a ServiceProvider class responsible for registering bindings package resources such as config files, views, migrations, ...
While preparing a workshop that I gave on package development, I watched some videos of our own Laravel package training video course again. While watching the videos on using the service provider again, I had the idea to simplify how resources can be registered.
Meanwhile, I've fleshed out the idea and release it as a new package called laravel-package-tools. In this blog post, I'd like to introduce the package to you.
Here's how Laravel loads config values.
Read more [jasonmccreary.me]
Last week, I started using a M1 powered MacBook Air as my primary computer. It feels much faster that my previous 16" MacBook Pro with Intel processor. Here's a good post on how Apple made their processors so fast.
Read more [debugger.medium.com]
– gdebrauwer.dev - submitted by Günther Debrauwer
Generating one voucher code is easy, but what if you need to generate thousands (or millions) and you need to be sure that each voucher code is unique? In this post, I will explain how you can solve this problem (in PHP).
Read more [gdebrauwer.dev]
My colleague Brent makes the case for targetting and uses the latest PHP version.
Read more [stitcher.io]
– dev.to
Let's see what CORS is actually doing, and why it's actually our friend.
Read more [dev.to]
– ryangjchandler.co.uk - submitted by Ryan Chandler
Here are 5 simple Laravel tips and tricks that you can start applying and using in your Laravel applications right now!
Read more [ryangjchandler.co.uk]
My colleague Alex recently fixed a strange problem with Redis.
Read more [alexvanderbist.com]
When your unit test suite gets larger, it can take quite a long time. One of the many ways to speed this up is to hunt down and fix slow tests. Let’s use PHPUnit’s test listeners to do just that.
Read more [www.aaronsaray.com]
Don't be afraid of friction when learning new things.
Read more [medium.com]
Out of the box, Highlight.php doesn't support Laravel Blade templates. I'll show you how to register a custom syntax so that you can start highlighting your Blade content.
Read more [ryangjchandler.co.uk]