Thanks Ludo! That really means a lot ๐
Thanks Ludo! That really means a lot ๐
Reduce Duplicate Cache Queries in Laravel with "Cache::memo()" ๐
ashallendesign.co.uk/blog/laravel...
How to Send Telegram Messages in Laravel by @ashallendesign.co.uk
https://laravel.io/articles/how-to-send-telegram-messages-in-laravel
Memoisation in Laravel Using the "once" Helper by @ashallendesign.co.uk
https://laravel.io/articles/memoisation-in-laravel-using-the-once-helper
How to Send Telegram Messages in Laravel ๐
ashallendesign.co.uk/blog/laravel...
Memoisation in Laravel Using the "once" Helper ๐
ashallendesign.co.uk/blog/laravel...
โก You can use the "once" helper to memoise data in Laravel!
The result of the closure will be stored on the first call. Then all future calls will return the stored result.
When used in the right places, this can lead to some nice performance gains.
I've just finished writing an article about memoisation in Laravel which covers:
๐ Using the "once" helper
๐ Using "once" in methods and static methods
๐ How "once" is handled in Octane apps
๐ Alternatives to "once"
Hoping to publish it on Monday ๐
My latest freelance contract has just come to an end this week.
So I'm now available to take on new Laravel projects/work!
If you're on the lookout for a Laravel dev with plenty of experience, feel free to give me a shout! ๐
Nice! ๐
Nice! I think I install those 3 first too ๐
What's the first package you install when you start a new Laravel project?
For me, it's usually Rector or PHPStan ๐
Building a Laravel Feature with Junie in PhpStorm ๐
P.s. - Please excuse the poor audio quality. I only realised during editing that I'd been using my Mac's mic rather than my actual mic. Ooops haha!
youtu.be/9HYYpuu_nXc?...
How AI Will Impact My Job as a Freelance Web Developer in 2026 ๐
ashallendesign.co.uk/blog/web-dev...
Yeah, I always stick to DateTimeImmutable and CarbonImmutable now whenever I'm working with dates. So much safer!
If anyone else is reading this and wants to know the difference between the mutable and immutable versions, I've got an article covering it ๐
ashallendesign.co.uk/blog/php-dates
๐ฅ If you're using job batches in Laravel, the "job_batches" database table can grow quite quickly.
To solve this, you can schedule the "queue:prune-batches" command.
I've just added this to @findapr after I noticed the table contained a ton of old rows (approx 28k rows) ๐
No, you're right, the answer's 2026-01-02. But I always used to forget that DateTime and Carbon were both mutable. In the past, I'd have guessed that the answer was 2026-01-01 haha! So it caught me out more times than I'd like to admit ๐
Fun little quiz:
Without cheating, what will the last line output in PHP?
This is something which used to catch me out all the time! ๐
Formatting PHP Code with PHP CS Fixer by @ashallendesign.co.uk
https://laravel.io/articles/formatting-php-code-with-php-cs-fixer
Formatting PHP Code with PHP CS Fixer ๐
ashallendesign.co.uk/blog/php-cs-...
Thanks Karl! ๐
Nice! ๐ฅ
What level do you run PHPStan at in your projects?
I've personally found level 5 or 6 to be the sweet spot (especially when adding it to existing projects) ๐
I've just hit a mini-milestone with my Email Utilities package:
It's crossed 100 stars on GitHub! โญ
It's really close to hitting its first 1,000 downloads, too. I've just checked and it's been installed 995 times ๐
Huge thank you to Philip Lezzi for your contributions and help with this release. I really appreciate it!
Release notes: github.com/ash-jc-allen...
[2/2]
I've just released Email Utilities for Laravel v1.1.0! ๐
This release includes:
โ
Artisan command that can be used to update the disposable domain list (shown in the screenshot)
โ
Caching to improve performance
โ
An updated list of disposable domains (4932 domains!)
[1/2]
The PR didn't get merged!
But I'm planning on writing an article soon to show how you can use Mailtrap for:
๐ Sending single emails in Laravel
๐ Sending bulk emails in Laravel
๐ Testing Laravel emails using Mailtrap sandboxes
Aiming to publish it next week ๐
I've just made a PR to Laravel to propose first-party support for sending transactional email with Mailtrap!
Is this something you might use? ๐
๐ PR: github.com/laravel/fram...
Thanks, I'm glad you liked it ๐
The Difference Between ?: and ?? in PHP by @ashallendesign.co.uk
https://laravel.io/articles/the-difference-between-and-in-php