Ash Allen's Avatar

Ash Allen

@ashallendesign.co.uk

๐Ÿš€ Freelance Laravel Web Developer and Blogger โšก https://battle-ready-laravel.com ๐Ÿ”ฅ https://consuming-apis-in-laravel.com โœจ https://web-dev-freelancing.com

1,355
Followers
82
Following
347
Posts
23.10.2024
Joined
Posts Following

Latest posts by Ash Allen @ashallendesign.co.uk

Thanks Ludo! That really means a lot ๐Ÿ˜„

22.01.2026 16:40 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Reduce Duplicate Cache Queries in Laravel with "Cache::memo()" Learn about how to use the "Cache::memo()" method to memoise cache values and improve performance in your Laravel applications.

Reduce Duplicate Cache Queries in Laravel with "Cache::memo()" ๐Ÿš€

ashallendesign.co.uk/blog/laravel...

21.01.2026 16:40 ๐Ÿ‘ 4 ๐Ÿ” 3 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
How to Send Telegram Messages in Laravel | Laravel.io The Laravel portal for problem solving, knowledge sharing and community building.

How to Send Telegram Messages in Laravel by @ashallendesign.co.uk

https://laravel.io/articles/how-to-send-telegram-messages-in-laravel

21.01.2026 14:00 ๐Ÿ‘ 1 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Memoisation in Laravel Using the "once" Helper | Laravel.io The Laravel portal for problem solving, knowledge sharing and community building.

Memoisation in Laravel Using the "once" Helper by @ashallendesign.co.uk

https://laravel.io/articles/memoisation-in-laravel-using-the-once-helper

20.01.2026 18:00 ๐Ÿ‘ 2 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
How to Send Telegram Messages in Laravel In this article, we'll look at how to send Telegram messages from a Laravel application using the "laravel-notification-channels/telegram" package. We'll also look at the different types of Telegram m...

How to Send Telegram Messages in Laravel ๐Ÿš€

ashallendesign.co.uk/blog/laravel...

20.01.2026 15:00 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Memoisation in Laravel Using the "once" Helper In this article, we'll discuss how to use the "once" helper in Laravel to memoise data. We'll also look at how the "once" helper works with Laravel Octane applications and alternative approaches you c...

Memoisation in Laravel Using the "once" Helper ๐Ÿš€

ashallendesign.co.uk/blog/laravel...

19.01.2026 10:50 ๐Ÿ‘ 3 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

โšก 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.

16.01.2026 16:11 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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 ๐Ÿ˜„

16.01.2026 14:09 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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! ๐Ÿ˜Ž

15.01.2026 21:50 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Nice! ๐Ÿ˜„

15.01.2026 09:13 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Nice! I think I install those 3 first too ๐Ÿ˜„

15.01.2026 09:12 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

What's the first package you install when you start a new Laravel project?

For me, it's usually Rector or PHPStan ๐Ÿ˜„

14.01.2026 21:27 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Building a Laravel Feature with Junie in PhpStorm
Building a Laravel Feature with Junie in PhpStorm YouTube video by Ash Allen

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?...

14.01.2026 16:39 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
How AI Will Impact My Job as a Freelance Web Developer in 2026 Read my opinions about how I think AI will impact my job as a freelance web developer and content creator in 2026. I discuss how I'm currently using AI in my workflow and how I think that might change...

How AI Will Impact My Job as a Freelance Web Developer in 2026 ๐Ÿš€

ashallendesign.co.uk/blog/web-dev...

13.01.2026 21:54 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Immutable and Mutable Dates in PHP Read about the difference between immutable and mutable dates in PHP. We'll also look at a common gotcha I've experienced when using mutable dates and how to avoid it.

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

08.01.2026 13:57 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

๐Ÿ”ฅ 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) ๐Ÿ˜„

08.01.2026 13:55 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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 ๐Ÿ˜‚

08.01.2026 08:02 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

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! ๐Ÿ‘€

07.01.2026 18:16 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Formatting PHP Code with PHP CS Fixer | Laravel.io The Laravel portal for problem solving, knowledge sharing and community building.

Formatting PHP Code with PHP CS Fixer by @ashallendesign.co.uk

https://laravel.io/articles/formatting-php-code-with-php-cs-fixer

18.12.2025 18:00 ๐Ÿ‘ 2 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Formatting PHP Code with PHP CS Fixer Read about how to use PHP CS Fixer to automate the formatting of your PHP code. We'll also explore how to use PHP CS Fixer in parallel mode and create a GitHub Actions workflow which checks the code s...

Formatting PHP Code with PHP CS Fixer ๐Ÿš€

ashallendesign.co.uk/blog/php-cs-...

18.12.2025 16:32 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Thanks Karl! ๐Ÿ˜„

10.12.2025 16:58 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Nice! ๐Ÿ”ฅ

09.12.2025 23:03 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

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) ๐Ÿ˜„

09.12.2025 20:01 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

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 ๐Ÿ‘€

09.12.2025 14:40 ๐Ÿ‘ 6 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Release v1.1.0 ยท ash-jc-allen/email-utilities What's Changed Added an email-utilities:fetch-disposable-domains Artisan command to fetch the latest disposable email domains list by @onlime and @ash-jc-allen in #12 and #20 Added a static cache ...

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]

03.12.2025 13:40 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

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]

03.12.2025 13:40 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

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 ๐Ÿ˜„

03.12.2025 09:32 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

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...

02.12.2025 20:43 ๐Ÿ‘ 5 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 1

Thanks, I'm glad you liked it ๐Ÿ˜„

25.11.2025 15:19 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
The Difference Between ?: and ?? in PHP | Laravel.io The Laravel portal for problem solving, knowledge sharing and community building.

The Difference Between ?: and ?? in PHP by @ashallendesign.co.uk

https://laravel.io/articles/the-difference-between-and-in-php

24.11.2025 14:00 ๐Ÿ‘ 1 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0