Blog

  1. Read the latest blog posts about Laravel, PHP and web development!

Get your FREE copy of "The Clean Coder's Guide to Laravel" and subscribe for future posts!

Join over 7,500+ developers who have already downloaded their copy!

Drop your email in the box below and you'll get notified every time a new post is published. You'll also get a FREE copy of my 70 page PDF that shows you how you can make your Laravel projects cleaner.

Subscribe

Search

CTRL/ mac-command + K Sort by:LatestPopularTrending

_small.png)](/content/blog/laravel-benchmark-class/index.html)22 Jan

7 mins

Measuring Performance with the "Benchmark" Class in Laravel

0 Comments

Laravel PHP Tips & Tricks Web Development

Ashley Allen ·

22nd January 2026

_small.png)](/content/blog/laravel-cache-memo/index.html)21 Jan

5 mins

Reduce Duplicate Cache Queries in Laravel with "Cache::memo()"

0 Comments

🔥 Quickfire

Ashley Allen ·

21st January 2026

20 Jan

7 mins

How to Send Telegram Messages in Laravel

0 Comments

Ashley Allen ·

20th January 2026

19 Jan

9 mins

Memoisation in Laravel Using the "once" Helper

0 Comments

Ashley Allen ·

19th January 2026

16 Jan

2 mins

Using AI to Build a Laravel Feature with Junie in PhpStorm

0 Comments

AI Laravel PHP Web Development

Ashley Allen ·

16th January 2026

17 Nov

5 mins

Immutable and Mutable Dates in PHP

0 Comments

Ashley Allen ·

17th November 2025

13 Nov

10 mins

Saloon vs Guzzle vs SDK vs Http Facade for Laravel API Integrations

0 Comments

Books Laravel PHP Tips & Tricks Web Development

Ashley Allen ·

13th November 2025

10 Nov

6 mins

Email Utilities for Laravel v1.0 Released! 🎉

0 Comments

Laravel PHP Web Development

Ashley Allen ·

10th November 2025

31 Oct

8 mins

Returning HTTP 404 Responses Instead of 403 for Unauthorised Access

2 Comments

Laravel PHP Security & Privacy Tips & Tricks Web Development

Ashley Allen ·

31st October 2025

29 Oct

4 mins

Run PHPUnit and Pest Tests Without Vite Assets in Laravel

0 Comments

🔥 Quickfire

Ashley Allen ·

29th October 2025

09 Sep

4 mins

Redactable Models v1.0 is Now Available!

0 Comments

Ashley Allen ·

9th September 2025

03 Sep

3 mins

Fetching Favicons using the DuckDuckGo Icons API in Laravel

0 Comments

Ashley Allen ·

3rd September 2025

07 Aug

3 mins

Create AI Agents in Laravel — The Simple Way

0 Comments

Revaz Ghambarashvili ·

7th August 2025

18 Jun

3 mins

Check if a Signed URL is Valid in Laravel Tests

0 Comments

🔥 Quickfire

Ashley Allen ·

18th June 2025

16 Jun

3 mins

Pass a Query Builder to "whereIn" to Reduce Your DB Queries

2 Comments

🔥 Quickfire

Ashley Allen ·

16th June 2025

09 Jun

3 mins

Check Every Key Exists in a PHP Array with Arr::hasAll()

0 Comments

🔥 Quickfire

Ashley Allen ·

9th June 2025

07 Jun

3 mins

Cast Laravel Model Fields to "Illuminate\Support\Uri" with "AsUri"

0 Comments

🔥 Quickfire

Ashley Allen ·

7th June 2025

14 Apr

13 mins

A Guide to Custom Model Casts in Laravel

0 Comments

Ashley Allen ·

14th April 2025

02 Apr

3 mins

Human-Readable File Sizes in Laravel (KB, MB, GB)

2 Comments

🔥 Quickfire

Ashley Allen ·

2nd April 2025

31 Mar

7 mins

Microservices in Laravel

0 Comments

Gary Clarke ·

31st March 2025

28 Mar

5 mins

Formatting and Spelling Ordinal Numbers in PHP and Laravel

0 Comments

Ashley Allen ·

28th March 2025

04 Mar

4 mins

How to Filter Profanity in Laravel with Squeaky

2 Comments

Ashley Allen ·

4th March 2025

17 Feb

6 mins

Preventing Destructive Commands from Running in Laravel

2 Comments

Ashley Allen ·

17th February 2025

[Access Route Model-Bound Models in Laravel Form Requests with "#[RouteParameter]"](/content/blog/laravel-route-parameter-attribute/index.html)09 Dec

5 mins

Access Route Model-Bound Models in Laravel Form Requests with "#[RouteParameter]"

0 Comments

Ashley Allen ·

9th December 2024

25 Nov

13 mins

Working with Images in Laravel Using Intervention Image

2 Comments

Ashley Allen ·

25th November 2024

28 Oct

14 mins

Building Livewire Components with Volt

0 Comments

Laravel Tips & Tricks Web Development

Ashley Allen ·

28th October 2024

30 Sep

19 mins

A Guide to Laravel Pipelines

4 Comments

Ashley Allen ·

30th September 2024

12 Sep

7 mins

Review: Advanced Inertia

2 Comments

Books JavaScript Laravel Web Development

Ashley Allen ·

12th September 2024

08 Sep

2 mins

Limit Eager Loaded Relationships on Laravel Models

0 Comments

🔥 Quickfire

Ashley Allen ·

8th September 2024

20 Aug

5 mins

Glimpse: Preview Your Laravel Pull Requests

0 Comments

Laravel Tips & Tricks Web Design Web Development

Larry Barker ·

20th August 2024

18 Aug

4 mins

Find Outdated Composer Dependencies Using "composer outdated"

0 Comments

🔥 Quickfire

Ashley Allen ·

18th August 2024

18 Aug

5 mins

New Array Functions in PHP 8.4

0 Comments

Laravel PHP PHP 8.4 Tips & Tricks Web Development

Ashley Allen ·

18th August 2024

12 Aug

4 mins

Ensuring Environment Variables Are Set in Laravel

0 Comments

🔥 Quickfire

Ashley Allen ·

12th August 2024

05 Aug

4 mins

Profanify: Prevent Profanity in Your PHP Codebase

2 Comments

🔥 Quickfire

Ashley Allen ·

5th August 2024

28 Jul

6 mins

Redact Model Fields in Laravel

0 Comments

Ashley Allen ·

28th July 2024

23 Jul

22 mins

Building a CLI with Laravel Prompts

0 Comments

Laravel Tips & Tricks Tutorial Web Development

Ashley Allen ·

23rd July 2024

21 Jul

11 mins

Testing Saloon API Integrations in Laravel

0 Comments

Ashley Allen ·

21st July 2024

03 Jul

4 mins

Lawman: Pest Architecture Testing for Saloon API Integrations

0 Comments

Ashley Allen ·

3rd July 2024

03 Jul

3 mins

Specify Allowed URL Schemes in Short URL

0 Comments

🔥 Quickfire

Ashley Allen ·

3rd July 2024

10 Jun

4 mins

Validating Square Image Uploads in Laravel

0 Comments

🔥 Quickfire

Ashley Allen ·

10th June 2024

31 May

26 mins

Sending Email in Laravel with Mailgun

0 Comments

Laravel PHP Tips & Tricks Tutorial Web Development

Ashley Allen ·

31st May 2024

15 May

2 mins

Create Your Own Directory Project with Larafast

0 Comments

Laravel PHP Sponsored Web Development

Sergey Karakhanyan ·

15th May 2024

14 May

14 mins

Architecture Testing in Laravel with Pest

2 Comments

Ashley Allen ·

14th May 2024

06 May

11 mins

Encrypting Queued Jobs, Notifications, Mail, and Listeners in Laravel

2 Comments

Ashley Allen ·

6th May 2024

22 Apr

4 mins

Find Open-Source Laravel/PHP Projects to Contribute to

0 Comments

Ashley Allen ·

22nd April 2024

17 Apr

7 mins

Using the "Conditionable" Trait In Laravel

0 Comments

Ashley Allen ·

17th April 2024

13 Apr

10 mins

Working with DynamoDB in Laravel

0 Comments

Ashley Allen ·

13th April 2024

13 Mar

4 mins

Larafast: Launch Your Startup Fast with Laravel

0 Comments

Sergey Karakhanyan ·

13th March 2024

06 Mar

3 mins

Using `Collection::times()` in Laravel

2 Comments

🔥 Quickfire

Ashley Allen ·

6th March 2024

26 Feb

15 mins

Identifying Performance Issues in Laravel with Inspector

0 Comments

Ashley Allen ·

26th February 2024

06 Feb

24 mins

Processes and Artisan Commands in Laravel

0 Comments

Ashley Allen ·

6th February 2024

30 Jan

9 mins

Display Desktop Notifications in PHP CLI Applications

2 Comments

Ashley Allen ·

30th January 2024

23 Jan

5 mins

Automatically Hash Laravel Model Values Using the "Hashed" Cast

0 Comments

🔥 Quickfire

Laravel Security & Privacy Tips & Tricks Web Development

Ashley Allen ·

23rd January 2024

08 Jan

6 mins

How to Check If a Laravel Collection Is Empty

0 Comments

🔥 Quickfire

Ashley Allen ·

8th January 2024

11 Dec

21 mins

Securing Laravel forms using Cloudflare's Turnstile CAPTCHA

0 Comments

Laravel PHP Security & Privacy Tutorial Web Development

Ashley Allen ·

11th December 2023

16 Oct

25 mins

A Guide to Feature Flags in Laravel Using Laravel Pennant

0 Comments

Laravel PHP Tutorial Web Development

Ashley Allen ·

16th October 2023

03 Oct

6 mins

Consuming APIs In Laravel is Now Available! 🎉

0 Comments

Books Laravel PHP

Ashley Allen ·

3rd October 2023

21 Sep

18 mins

A Guide to Soft Deletes in Laravel

0 Comments

Ashley Allen ·

21st September 2023

30 Aug

3 mins

Unlock Your Full Potential with "The Battle Ready Programmer" Bundle

0 Comments

Ashley Allen ·

30th August 2023

07 Aug

13 mins

A Guide to Encryption and Hashing in Laravel

0 Comments

Ashley Allen ·

7th August 2023

27 Jul

3 mins

Behind the Dev: Diana Scharf

0 Comments

Behind the Dev Laravel PHP

Ashley Allen ·

27th July 2023

20 Jul

5 mins

Behind the Dev: Stephen Rees-Carter

0 Comments

Ashley Allen ·

20th July 2023

23 Jun

3 mins

Hyvor Blogs: A blogging platform for Laravel & Symfony Applications

0 Comments

Supun Wimalasena ·

23rd June 2023

12 Jun

3 mins

Behind the Dev: Caneco

0 Comments

Ashley Allen ·

12th June 2023

12 Jun

24 mins

A Guide to Using Websockets in Laravel

0 Comments

Ashley Allen ·

12th June 2023

-min_small.png)](/content/blog/top-hosting-providers-for-php-laravel/index.html)25 May

7 mins

Top Hosting Providers for PHP and Laravel (2024)

4 Comments

Ashley Allen · Last Updated At: 2nd January 2024

25 May

16 mins

Integrating Two-Factor Authentication in Laravel with Vonage

0 Comments

Ashley Allen ·

25th May 2023

24 May

4 mins

Behind the Dev: Joe Dixon

0 Comments

Ashley Allen ·

24th May 2023

18 May

2 mins

Introducing Eddy: The Splade demo app, now open source!

0 Comments

Pascal Baljet ·

18th May 2023

04 May

7 mins

How to Get the Logged In User in Laravel

0 Comments

🔥 Quickfire

Ashley Allen · Last Updated At: 2nd January 2024

03 May

5 mins

Behind the Dev: Jim Seconde

2 Comments

Ashley Allen ·

3rd May 2023

14 Apr

5 mins

Reading JSON Files in Laravel

2 Comments

🔥 Quickfire

Ashley Allen · Last Updated At: 2nd January 2024

13 Apr

5 mins

Advanced Laravel: Contracts and Implementations

1 Comment

Jordan Dalton ·

13th April 2023

11 Apr

5 mins

How to Create Custom Laravel Blade Directives

1 Comment

Ashley Allen · Last Updated At: 2nd January 2024

10 Apr

16 mins

Using the Manager Pattern in Laravel

0 Comments

Laravel Tutorial Web Development

Ashley Allen ·

10th April 2023

24 Mar

12 mins

Laravel Pipelines: Transforming Your Code into a Flow of Efficiency

0 Comments

Jordan Dalton ·

24th March 2023

08 Mar

6 mins

View Your Laravel Project's Broadcast Channels with the "channel:list" Command

0 Comments

Ashley Allen ·

8th March 2023

22 Feb

9 mins

Send WhatsApp Messages in Laravel With Vonage's Native SDK

0 Comments

Ashley Allen ·

22nd February 2023

24 Jan

5 mins

Laravel: Implementing Feature Flags

0 Comments

Peter Fox ·

24th January 2023

06 Jan

7 mins

8 Essential Questions to Ask Before Using a Laravel Package

0 Comments

Ashley Allen ·

6th January 2023

06 Jan

2 mins

Top 37 YouTube Channels for Laravel and PHP Developers

3 Comments

Business Laravel PHP

Ashley Allen · Last Updated At: 2nd January 2024

04 Jan

4 mins

Standard API Responses With Laravel Responsables

0 Comments

Wendell Adriel ·

4th January 2023

03 Jan

6 mins

Review: Mastering Laravel Validation Rules

0 Comments

Books Laravel

Ashley Allen ·

3rd January 2023

23 Nov

8 mins

Mass Assignment Vulnerabilities and Validation in Laravel

2 Comments

Ashley Allen · Last Updated At: 2nd January 2024

08 Nov

7 mins

How To Improve Your Laravel Development Skills By Reading Code

4 Comments

🔥 Quickfire

Ashley Allen · Last Updated At: 2nd January 2024

01 Nov

4 mins

Behind the Dev: Matt Stauffer

0 Comments

Ashley Allen ·

1st November 2022

20 Oct

3 mins

Behind the Dev: Bosun Egberinde

0 Comments

Ashley Allen ·

20th October 2022

11 Oct

7 mins

Behind the Dev: Pascal Baljet

1 Comment

Ashley Allen ·

11th October 2022

06 Oct

4 mins

Behind the Dev: Christoph Rumpel

0 Comments

Ashley Allen ·

6th October 2022

05 Oct

8 mins

Laravel Package Development with Local Composer Dependencies

5 Comments

🔥 Quickfire

Laravel PHP Tutorial

Ashley Allen · Last Updated At: 2nd January 2024

05 Sep

2 mins

Battle Ready Laravel

0 Comments

Ashley Allen ·

5th September 2022

09 Aug

6 mins

Behind the Dev: Luke Downing

0 Comments

Ashley Allen ·

9th August 2022

03 Aug

5 mins

Behind the Dev: Dan Harrin

7 Comments

Ashley Allen ·

3rd August 2022

25 Jul

3 mins

Top 39 Laravel & PHP Blogs You Should Be Following

0 Comments

Ashley Allen · Last Updated At: 6th June 2024

05 Jul

5 mins

Behind the Dev: Steve McDougall

0 Comments

Behind the Dev Laravel

Ashley Allen ·

5th July 2022

30 Jun

8 mins

Send an SMS in Laravel Using Vonage (Previously Nexmo)

0 Comments

Ashley Allen ·

30th June 2022

21 Jun

13 mins

Adding Social Logins to Your Laravel Apps: Twitter and GitHub

0 Comments

Laravel Tips & Tricks Tutorial

Ashley Allen ·

21st June 2022

14 Jun

3 mins

Using "with" and "whereHas" together with "withWherehas" in Laravel

0 Comments

🔥 Quickfire

Laravel Tips & Tricks

Ashley Allen · Last Updated At: 30th May 2024

07 Jun

9 mins

How to Create Short URLs in Laravel

2 Comments

Ashley Allen · Last Updated At: 2nd January 2024

03 Jun

9 mins

Round Up: May 2022

0 Comments

Laravel PHP Round Up

Ashley Allen ·

3rd June 2022

31 May

5 mins

Behind the Dev: James Brooks

1 Comment

Behind the Dev Laravel

Ashley Allen ·

31st May 2022

26 May

12 mins

A Complete Guide to Managing User Permissions in Laravel Apps

0 Comments

Ashley Allen ·

26th May 2022

23 May

15 mins

How to Validate Your Laravel App's Config

0 Comments

Laravel Web Development

Ashley Allen · Last Updated At: 22nd January 2024

05 May

9 mins

How to Get Website's Favicons in Laravel

0 Comments

Ashley Allen · Last Updated At: 2nd January 2024

04 May

9 mins

Round Up: April 2022

0 Comments

Ashley Allen ·

4th May 2022

03 May

13 mins

20 Useful Laravel Tips

5 Comments

Laravel PHP Tips & Tricks

Ashley Allen ·

3rd May 2022

22 Apr

4 mins

What's New in Short URL v7.0.0

0 Comments

🔥 Quickfire

Laravel PHP

Ashley Allen · Last Updated At: 2nd January 2024

19 Apr

6 mins

What's New in Laravel Config Validator v2.0.0 & v2.1.0

0 Comments

🔥 Quickfire

Laravel PHP

Ashley Allen ·

19th April 2022

01 Apr

8 mins

Round Up: March 2022

0 Comments

Ashley Allen ·

1st April 2022

30 Mar

5 mins

Using 'query()' in Laravel Eloquent Queries

4 Comments

🔥 Quickfire

Laravel Tips & Tricks

Ashley Allen · Last Updated At: 2nd January 2024

10 Mar

19 mins

The Laravel Ecosystem

3 Comments

Laravel Web Development

Ashley Allen ·

10th March 2022

01 Mar

11 mins

Round Up: February 2022

0 Comments

Ashley Allen ·

1st March 2022

28 Feb

9 mins

An Introduction to Caching in Laravel

0 Comments

Ashley Allen ·

28th February 2022

01 Feb

8 mins

Round Up: January 2022

0 Comments

Ashley Allen ·

1st February 2022

22 Nov

16 mins

A Guide to Error & Uptime Monitoring in Laravel Using Honeybadger

2 Comments

Ashley Allen ·

22nd November 2021

16 Nov

2 mins

New Features in Short URL v6.1.0

0 Comments

🔥 Quickfire

Laravel

Ashley Allen ·

16th November 2021

21 Oct

5 mins

Getting the User's Device, Browser & OS in Laravel

2 Comments

🔥 Quickfire

Ashley Allen ·

21st October 2021

14 Oct

6 mins

How to Get Currency Exchange Rates in Laravel

0 Comments

Ashley Allen ·

14th October 2021

22 Sep

3 mins

Using a Custom Alphabet in the Short URL Laravel Package

0 Comments

🔥 Quickfire

Ashley Allen · Last Updated At: 2nd January 2024

21 Sep

9 mins

Using Database Transactions to Write Safer Laravel Code

4 Comments

Ashley Allen ·

21st September 2021

31 Aug

10 mins

Setting Up Tailwind CSS in Laravel

0 Comments

Laravel Tips & Tricks Tutorial Web Design

Ashley Allen ·

31st August 2021

23 Aug

7 mins

How to Add Breadcrumbs to Your Laravel Website

0 Comments

Laravel PHP Tips & Tricks Tutorial Web Design Web Development

Ashley Allen · Last Updated At: 2nd January 2024

17 Aug

4 mins

How to Assert Redirects to Signed URLs in Laravel Tests

0 Comments

Ashley Allen ·

17th August 2021

[The Clean Coder's Guide to Laravel [FREE 70 Page PDF]](/content/blog/the-clean-coders-guide-to-laravel-free-70-page-pdf/index.html)14 Jul

2 mins

The Clean Coder's Guide to Laravel [FREE 70 Page PDF]

87 Comments

Ashley Allen ·

14th July 2021

03 Jul

5 mins

How to Create Your Own Helper Functions in Laravel

7 Comments

Ashley Allen ·

3rd July 2021

25 Jun

10 mins

Cleaning Up Laravel Controllers

9 Comments

Ashley Allen ·

25th June 2021

17 Jun

6 mins

Using the Strategy Pattern in Laravel

0 Comments

Ashley Allen · Last Updated At: 2nd January 2024

08 Jun

10 mins

Using Interfaces to Write Better PHP Code

6 Comments

Ashley Allen · Last Updated At: 2nd January 2024

26 May

8 mins

5 Lessons I Learned from Building My Own Laravel Package

2 Comments

Laravel Web Development

Ashley Allen ·

26th May 2021

21 May

5 mins

How to Force Eager Loading and Prevent N+1 Issues in Laravel

1 Comment

Ashley Allen · Last Updated At: 2nd January 2024

29 Apr

3 mins

How to Use the sole() Method on Laravel Collections

4 Comments

Ashley Allen ·

29th April 2021

21 Apr

3 mins

How to Swap Items in an Array Using Laravel Macros

0 Comments

Ashley Allen ·

21st April 2021

17 Mar

3 mins

How to Filter Laravel Collections Using whereInstanceOf

4 Comments

Ashley Allen ·

17th March 2021

29 Jan

8 mins

How to Make Your Laravel App More Testable

9 Comments

Ashley Allen ·

29th January 2021

05 Jan

7 mins

How to Validate Email Addresses using Laravel Mailbox Layer

0 Comments

Ashley Allen ·

5th January 2021

21 Oct

8 mins

Top 8 Free and Paid Resources for Learning Laravel

2 Comments

Ashley Allen ·

21st October 2020

04 Oct

11 mins

6 Quick & Easy Ways to Speed Up Your Laravel Website

7 Comments

Ashley Allen · Last Updated At: 2nd January 2024

1