# 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](/content/blog/laravel-benchmark-class/index.html)

0 Comments

[Laravel](/content/blog?category=laravel/index.html) [PHP](/content/blog?category=php/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Development](/content/blog?category=web-development/index.html)

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()"](/content/blog/laravel-cache-memo/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

21st January 2026

20 Jan

7 mins

## [How to Send Telegram Messages in Laravel](/content/blog/laravel-telegram-messages/index.html)

0 Comments

Ashley Allen ·

20th January 2026

19 Jan

9 mins

## [Memoisation in Laravel Using the "once" Helper](/content/blog/laravel-memoisation-once-helper/index.html)

0 Comments

Ashley Allen ·

19th January 2026

18 Dec

7 mins

## [Formatting PHP Code with PHP CS Fixer](/content/blog/php-cs-fixer/index.html)

2 Comments

[PHP](/content/blog?category=php/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Tutorial](/content/blog?category=tutorial/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·

18th December 2025

20 Nov

5 mins

## [The Difference Between ?: and ?? in PHP](/content/blog/php-ternary-operator-and-null-coalescing-operators/index.html)

3 Comments

[PHP](/content/blog?category=php/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·

20th November 2025

17 Nov

5 mins

## [Immutable and Mutable Dates in PHP](/content/blog/php-dates/index.html)

0 Comments

Ashley Allen ·

17th November 2025

13 Nov

10 mins

## [Saloon vs Guzzle vs SDK vs Http Facade for Laravel API Integrations](/content/blog/saloon-guzzle-or-http-facade/index.html)

0 Comments

[Books](/content/blog?category=books/index.html) [Laravel](/content/blog?category=laravel/index.html) [PHP](/content/blog?category=php/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·

13th November 2025

31 Oct

8 mins

## [Returning HTTP 404 Responses Instead of 403 for Unauthorised Access](/content/blog/unauthorised-access-404/index.html)

2 Comments

[Laravel](/content/blog?category=laravel/index.html) [PHP](/content/blog?category=php/index.html) [Security & Privacy](/content/blog?category=security-and-privacy/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·

31st October 2025

29 Oct

4 mins

## [Run PHPUnit and Pest Tests Without Vite Assets in Laravel](/content/blog/laravel-tests-without-vite/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

29th October 2025

30 Sep

6 mins

## [The Dangers of Dynamic Method Calls in PHP](/content/blog/php-dynamic-method-call-dangers/index.html)

6 Comments

Ashley Allen ·

30th September 2025

18 Sep

5 mins

## [The \`match\` Expression in PHP](/content/blog/php-match-expression/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

18th September 2025

16 Sep

4 mins

## [Check If a String is Valid JSON in PHP](/content/blog/php-json-validate/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

16th September 2025

11 Sep

15 mins

## [A Guide to Serialization in PHP](/content/blog/php-serialization/index.html)

0 Comments

Ashley Allen ·

11th September 2025

03 Sep

3 mins

## [Fetching Favicons using the DuckDuckGo Icons API in Laravel](/content/blog/favicon-fetcher-duck-duck-go/index.html)

0 Comments

Ashley Allen ·

3rd September 2025

20 Jun

5 mins

## [The "never" Type in PHP](/content/blog/php-never-type/index.html)

3 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

20th June 2025

18 Jun

3 mins

## [Check if a Signed URL is Valid in Laravel Tests](/content/blog/check-if-a-signed-url-is-valid-in-laravel-tests/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

18th June 2025

16 Jun

3 mins

## [Pass a Query Builder to "whereIn" to Reduce Your DB Queries](/content/blog/laravel-wherein-reduce-queries/index.html)

2 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

16th June 2025

13 Jun

7 mins

## [Asymmetric Property Visibility in PHP](/content/blog/php-asymmetric-property-visibility/index.html)

0 Comments

[PHP](/content/blog?category=php/index.html) [PHP 8.4](/content/blog?category=php-84/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·

13th June 2025

11 Jun

3 mins

## [Formatting Monetary Values in JavaScript](/content/blog/formatting-monetary-values-in-javascript/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

[JavaScript](/content/blog?category=javascript/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·

11th June 2025

09 Jun

3 mins

## [Check Every Key Exists in a PHP Array with Arr::hasAll()](/content/blog/arr-has-all-php-array/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

9th June 2025

07 Jun

3 mins

## [Cast Laravel Model Fields to "Illuminate\\Support\\Uri" with "AsUri"](/content/blog/laravel-as-uri-model-cast/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

7th June 2025

14 Apr

13 mins

## [A Guide to Custom Model Casts in Laravel](/content/blog/custom-laravel-casts/index.html)

0 Comments

Ashley Allen ·

14th April 2025

02 Apr

3 mins

## [Human-Readable File Sizes in Laravel (KB, MB, GB)](/content/blog/laravel-human-readable-file-sizes/index.html)

2 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

2nd April 2025

31 Mar

7 mins

## [Microservices in Laravel](/content/blog/laravel-microservices/index.html)

0 Comments

Gary Clarke ·

31st March 2025

28 Mar

5 mins

## [Formatting and Spelling Ordinal Numbers in PHP and Laravel](/content/blog/ordinal-numbers-in-php-and-laravel/index.html)

0 Comments

Ashley Allen ·

28th March 2025

04 Mar

4 mins

## [How to Filter Profanity in Laravel with Squeaky](/content/blog/squeaky-laravel-profanity-filter/index.html)

2 Comments

Ashley Allen ·

4th March 2025

17 Feb

6 mins

## [Preventing Destructive Commands from Running in Laravel](/content/blog/laravel-prevent-destructive-commands/index.html)

2 Comments

Ashley Allen ·

17th February 2025

[![Access Route Model-Bound Models in Laravel Form Requests with "#[RouteParameter]"](https://ashallendesign.ams3.cdn.digitaloceanspaces.com/public/blog/206/laravel-route-parameter-attribute_small.png)](/content/blog/laravel-route-parameter-attribute/index.html)09 Dec

5 mins

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

0 Comments

Ashley Allen ·

9th December 2024

25 Nov

13 mins

## [Working with Images in Laravel Using Intervention Image](/content/blog/using-intervention-image-in-laravel/index.html)

2 Comments

Ashley Allen ·

25th November 2024

28 Oct

14 mins

## [Building Livewire Components with Volt](/content/blog/laravel-volt/index.html)

0 Comments

[Laravel](/content/blog?category=laravel/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·

28th October 2024

23 Oct

3 mins

## [How to Set Up Your Mac for Web Design](/content/blog/how-to-set-up-your-mac-for-web-design/index.html)

0 Comments

[Sponsored](/content/blog?category=sponsored/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Design](/content/blog?category=web-design/index.html)

Mia Thompson ·

23rd October 2024

30 Sep

19 mins

## [A Guide to Laravel Pipelines](/content/blog/laravel-pipeline/index.html)

4 Comments

Ashley Allen ·

30th September 2024

08 Sep

2 mins

## [Limit Eager Loaded Relationships on Laravel Models](/content/blog/limit-eager-loaded-relationships/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

8th September 2024

20 Aug

5 mins

## [Glimpse: Preview Your Laravel Pull Requests](/content/blog/glimpse/index.html)

0 Comments

[Laravel](/content/blog?category=laravel/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Design](/content/blog?category=web-design/index.html) [Web Development](/content/blog?category=web-development/index.html)

Larry Barker ·

20th August 2024

18 Aug

12 mins

## [PHP 8.4 Property Hooks](/content/blog/php-84-property-hooks/index.html)

0 Comments

Ashley Allen ·

18th August 2024

18 Aug

4 mins

## [Find Outdated Composer Dependencies Using "composer outdated"](/content/blog/composer-outdated/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

18th August 2024

18 Aug

5 mins

## [New Array Functions in PHP 8.4](/content/blog/php-84-array-functions/index.html)

0 Comments

[Laravel](/content/blog?category=laravel/index.html) [PHP](/content/blog?category=php/index.html) [PHP 8.4](/content/blog?category=php-84/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·

18th August 2024

12 Aug

4 mins

## [Ensuring Environment Variables Are Set in Laravel](/content/blog/env-get-or-fail/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

12th August 2024

05 Aug

4 mins

## [Profanify: Prevent Profanity in Your PHP Codebase](/content/blog/profanify/index.html)

2 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

5th August 2024

28 Jul

6 mins

## [Redact Model Fields in Laravel](/content/blog/redact-model-fields-in-laravel/index.html)

0 Comments

Ashley Allen ·

28th July 2024

23 Jul

22 mins

## [Building a CLI with Laravel Prompts](/content/blog/laravel-prompts-api-client/index.html)

0 Comments

[Laravel](/content/blog?category=laravel/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Tutorial](/content/blog?category=tutorial/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·

23rd July 2024

21 Jul

6 mins

## [Named Arguments in PHP](/content/blog/php-named-arguments/index.html)

0 Comments

Ashley Allen ·

21st July 2024

21 Jul

11 mins

## [Testing Saloon API Integrations in Laravel](/content/blog/testing-saloon-api-integrations/index.html)

0 Comments

Ashley Allen ·

21st July 2024

08 Jul

6 mins

## [Magic Constants in PHP](/content/blog/php-magic-constants/index.html)

0 Comments

Ashley Allen ·
**Last Updated At**: 19th August 2024

[![The #[Override] Attribute in PHP](https://ashallendesign.ams3.cdn.digitaloceanspaces.com/public/blog/185/override-attribute-in-php_small.png)](/content/blog/php-attribute-override/index.html)05 Jul

6 mins

## [The \#\[Override\] Attribute in PHP](/content/blog/php-attribute-override/index.html)

0 Comments

Ashley Allen ·

5th July 2024

03 Jul

4 mins

## [Lawman: Pest Architecture Testing for Saloon API Integrations](/content/blog/saloon-lawman-architecture-testing/index.html)

0 Comments

Ashley Allen ·

3rd July 2024

03 Jul

3 mins

## [Specify Allowed URL Schemes in Short URL](/content/blog/short-url-allowed-schemes/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

3rd July 2024

02 Jul

17 mins

## [A Guide to PHP Attributes](/content/blog/php-attributes/index.html)

2 Comments

Ashley Allen ·

2nd July 2024

10 Jun

4 mins

## [Validating Square Image Uploads in Laravel](/content/blog/uploaded-square-image-laravel/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

10th June 2024

31 May

26 mins

## [Sending Email in Laravel with Mailgun](/content/blog/sending-email-in-laravel-with-mailgun/index.html)

0 Comments

[Laravel](/content/blog?category=laravel/index.html) [PHP](/content/blog?category=php/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Tutorial](/content/blog?category=tutorial/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·

31st May 2024

14 May

14 mins

## [Architecture Testing in Laravel with Pest](/content/blog/architecture-testing-in-laravel-with-pest/index.html)

2 Comments

Ashley Allen ·

14th May 2024

09 May

7 mins

## [Why Are My Tests Failing?](/content/blog/why-are-my-tests-failing/index.html)

0 Comments

Ashley Allen ·

9th May 2024

06 May

11 mins

## [Encrypting Queued Jobs, Notifications, Mail, and Listeners in Laravel](/content/blog/encrypting-queued-classes-in-laravel/index.html)

2 Comments

Ashley Allen ·

6th May 2024

17 Apr

7 mins

## [Using the "Conditionable" Trait In Laravel](/content/blog/laravel-conditionable-trait/index.html)

0 Comments

Ashley Allen ·

17th April 2024

13 Apr

10 mins

## [Working with DynamoDB in Laravel](/content/blog/dynamodb-laravel/index.html)

0 Comments

Ashley Allen ·

13th April 2024

19 Mar

4 mins

## [Readonly Classes and Properties in PHP](/content/blog/readonly-classes-and-properties-in-php/index.html)

0 Comments

Ashley Allen ·

19th March 2024

19 Mar

4 mins

## [Redacting Sensitive Parameters in PHP](/content/blog/redacting-sensitive-parameters-in-php/index.html)

0 Comments

Ashley Allen ·

19th March 2024

19 Mar

6 mins

## [Data Transfer Objects (DTOs) in PHP](/content/blog/data-transfer-objects-dtos-in-php/index.html)

0 Comments

Ashley Allen ·

19th March 2024

06 Mar

3 mins

## [Using \`Collection::times()\` in Laravel](/content/blog/using-collection-times-in-laravel/index.html)

2 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

6th March 2024

03 Mar

5 mins

## [Validate Data Types in Laravel Collections Using the \`ensure()\` Method](/content/blog/laravel-collection-ensure/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

3rd March 2024

26 Feb

15 mins

## [Identifying Performance Issues in Laravel with Inspector](/content/blog/identifying-performance-issues-in-laravel-with-inspector/index.html)

0 Comments

Ashley Allen ·

26th February 2024

06 Feb

24 mins

## [Processes and Artisan Commands in Laravel](/content/blog/processes-and-artisan-commands-in-laravel/index.html)

0 Comments

Ashley Allen ·

6th February 2024

30 Jan

9 mins

## [Display Desktop Notifications in PHP CLI Applications](/content/blog/display-desktop-notifications-in-php-cli-applications/index.html)

2 Comments

Ashley Allen ·

30th January 2024

23 Jan

5 mins

## [Automatically Hash Laravel Model Values Using the "Hashed" Cast](/content/blog/automatically-hash-laravel-model-values-using-the-hashed-cast/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

[Laravel](/content/blog?category=laravel/index.html) [Security & Privacy](/content/blog?category=security-and-privacy/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·

23rd January 2024

08 Jan

6 mins

## [How to Check If a Laravel Collection Is Empty](/content/blog/how-to-check-if-a-laravel-collection-is-empty/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

8th January 2024

08 Jan

5 mins

## [How to Check If an Array Is Empty in PHP](/content/blog/how-to-check-if-an-array-is-empty-in-php/index.html)

1 Comment

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

8th January 2024

08 Jan

6 mins

## [How to Check If an Array Is Empty in JavaScript](/content/blog/how-to-check-if-an-array-is-empty-in-javascript/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

8th January 2024

23 Nov

2 mins

## [Auditing Laravel Apps: Getting Into the Right Mindset](/content/blog/auditing-laravel-apps-mindset/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

[Books](/content/blog?category=books/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·

23rd November 2023

04 Oct

5 mins

## [Saloon SDK Generator](/content/blog/saloon-sdk-generator/index.html)

0 Comments

Helge Sverre ·

4th October 2023

21 Sep

18 mins

## [A Guide to Soft Deletes in Laravel](/content/blog/a-guide-to-soft-deletes-in-laravel/index.html)

0 Comments

Ashley Allen ·

21st September 2023

07 Aug

13 mins

## [A Guide to Encryption and Hashing in Laravel](/content/blog/a-guide-to-encryption-and-hashing-in-laravel/index.html)

0 Comments

Ashley Allen ·

7th August 2023

04 May

7 mins

## [How to Get the Logged In User in Laravel](/content/blog/how-to-get-the-logged-in-user-in-laravel/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·
**Last Updated At**: 2nd January 2024

20 Apr

9 mins

## [A Beginner's Guide to Closures and Arrow Functions in PHP](/content/blog/a-beginner-s-guide-to-closures-and-arrow-functions-in-php/index.html)

13 Comments

Ashley Allen ·
**Last Updated At**: 2nd January 2024

18 Apr

6 mins

## [Using \`declare(strict\_types=1)\` for More Robust PHP Code](/content/blog/using-declare-strict_types-1-for-more-robust-php-code/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

[PHP](/content/blog?category=php/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html)

Ashley Allen ·
**Last Updated At**: 2nd January 2024

14 Apr

5 mins

## [Reading JSON Files in Laravel](/content/blog/reading-json-files-in-laravel/index.html)

2 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·
**Last Updated At**: 2nd January 2024

13 Apr

5 mins

## [Advanced Laravel: Contracts and Implementations](/content/blog/advanced-laravel-contracts-and-implementations/index.html)

1 Comment

Jordan Dalton ·

13th April 2023

11 Apr

5 mins

## [How to Create Custom Laravel Blade Directives](/content/blog/boost-your-laravel-templates-with-custom-blade-directives/index.html)

1 Comment

Ashley Allen ·
**Last Updated At**: 2nd January 2024

24 Mar

12 mins

## [Laravel Pipelines: Transforming Your Code into a Flow of Efficiency](/content/blog/laravel-pipelines-transforming-your-code-into-a-flow-of-efficiency/index.html)

0 Comments

Jordan Dalton ·

24th March 2023

08 Mar

6 mins

## [View Your Laravel Project's Broadcast Channels with the "channel:list" Command](/content/blog/view-your-laravel-projects-broadcast-channels-with-the-channel-list-command/index.html)

0 Comments

Ashley Allen ·

8th March 2023

23 Jan

6 mins

## [collect.js: A Laravel-Like Syntax for JavaScript Arrays](/content/blog/collect-js-a-laravel-like-syntax-for-javascript-arrays/index.html)

6 Comments

Ashley Allen ·

23rd January 2023

11 Jan

4 mins

## [Preventing Installing Composer Dependencies with Known Security Vulnerabilities](/content/blog/preventing-installing-composer-dependencies-with-known-security-vulnerabilities/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

[PHP](/content/blog?category=php/index.html) [Security & Privacy](/content/blog?category=security-and-privacy/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html)

Ashley Allen ·
**Last Updated At**: 2nd January 2024

11 Jan

7 mins

## [The Difference Between self::, static::, and parent:: in PHP](/content/blog/the-difference-between-self-static-and-parent-in-php/index.html)

10 Comments

Ashley Allen ·
**Last Updated At**: 2nd January 2024

04 Jan

4 mins

## [Standard API Responses With Laravel Responsables](/content/blog/standard-api-responses-with-laravel-responsables/index.html)

0 Comments

Wendell Adriel ·

4th January 2023

23 Nov

8 mins

## [Mass Assignment Vulnerabilities and Validation in Laravel](/content/blog/mass-assignment-vulnerabilities-and-validation-in-laravel/index.html)

2 Comments

Ashley Allen ·
**Last Updated At**: 2nd January 2024

08 Nov

7 mins

## [How To Improve Your Laravel Development Skills By Reading Code](/content/blog/how-to-improve-your-laravel-development-skills-by-reading-code/index.html)

4 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·
**Last Updated At**: 2nd January 2024

05 Sep

2 mins

## [Battle Ready Laravel](/content/blog/battle-ready-laravel/index.html)

0 Comments

Ashley Allen ·

5th September 2022

21 Jun

13 mins

## [Adding Social Logins to Your Laravel Apps: Twitter and GitHub](/content/blog/adding-social-logins-to-your-laravel-apps-twitter-and-github/index.html)

0 Comments

[Laravel](/content/blog?category=laravel/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Tutorial](/content/blog?category=tutorial/index.html)

Ashley Allen ·

21st June 2022

14 Jun

3 mins

## [Using "with" and "whereHas" together with "withWherehas" in Laravel](/content/blog/using-with-and-wherehas-together-with-withwherehas-in-laravel/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

[Laravel](/content/blog?category=laravel/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html)

Ashley Allen ·
**Last Updated At**: 30th May 2024

26 May

12 mins

## [A Complete Guide to Managing User Permissions in Laravel Apps](/content/blog/a-complete-guide-to-managing-user-permissions-in-laravel-apps/index.html)

0 Comments

Ashley Allen ·

26th May 2022

05 May

9 mins

## [How to Get Website's Favicons in Laravel](/content/blog/how-to-get-websites-favicons-in-laravel/index.html)

0 Comments

Ashley Allen ·
**Last Updated At**: 2nd January 2024

03 May

13 mins

## [20 Useful Laravel Tips](/content/blog/20-useful-laravel-tips/index.html)

5 Comments

[Laravel](/content/blog?category=laravel/index.html) [PHP](/content/blog?category=php/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html)

Ashley Allen ·

3rd May 2022

30 Mar

5 mins

## [Using 'query()' in Laravel Eloquent Queries](/content/blog/using-query-in-laravel-eloquent-queries/index.html)

4 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

[Laravel](/content/blog?category=laravel/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html)

Ashley Allen ·
**Last Updated At**: 2nd January 2024

28 Feb

9 mins

## [An Introduction to Caching in Laravel](/content/blog/an-introduction-to-caching-in-laravel/index.html)

0 Comments

Ashley Allen ·

28th February 2022

22 Nov

16 mins

## [A Guide to Error & Uptime Monitoring in Laravel Using Honeybadger](/content/blog/a-guide-to-error-and-uptime-monitoring-in-laravel-using-honeybadger/index.html)

2 Comments

Ashley Allen ·

22nd November 2021

21 Oct

5 mins

## [Getting the User's Device, Browser & OS in Laravel](/content/blog/getting-the-user-device-browser-and-os-in-laravel/index.html)

2 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·

21st October 2021

22 Sep

3 mins

## [Using a Custom Alphabet in the Short URL Laravel Package](/content/blog/using-a-custom-alphabet-in-the-short-url-laravel-package/index.html)

0 Comments

[🔥 Quickfire](/content/blog?category=quickfire/index.html)

Ashley Allen ·
**Last Updated At**: 2nd January 2024

21 Sep

9 mins

## [Using Database Transactions to Write Safer Laravel Code](/content/blog/using-database-transactions-to-write-safer-laravel-code/index.html)

4 Comments

Ashley Allen ·

21st September 2021

31 Aug

10 mins

## [Setting Up Tailwind CSS in Laravel](/content/blog/setting-up-tailwind-css-in-laravel/index.html)

0 Comments

[Laravel](/content/blog?category=laravel/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Tutorial](/content/blog?category=tutorial/index.html) [Web Design](/content/blog?category=web-design/index.html)

Ashley Allen ·

31st August 2021

23 Aug

7 mins

## [How to Add Breadcrumbs to Your Laravel Website](/content/blog/how-to-add-breadcrumbs-to-your-laravel-website/index.html)

0 Comments

[Laravel](/content/blog?category=laravel/index.html) [PHP](/content/blog?category=php/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Tutorial](/content/blog?category=tutorial/index.html) [Web Design](/content/blog?category=web-design/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·
**Last Updated At**: 2nd January 2024

17 Aug

4 mins

## [How to Assert Redirects to Signed URLs in Laravel Tests](/content/blog/how-to-assert-redirects-to-signed-urls-in-laravel-tests/index.html)

0 Comments

Ashley Allen ·

17th August 2021

03 Aug

8 mins

## [17 Ways to Get Your Website Ready to Win](/content/blog/17-ways-to-get-your-website-ready-to-win/index.html)

0 Comments

[Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Design](/content/blog?category=web-design/index.html) [Web Development](/content/blog?category=web-development/index.html)

Ashley Allen ·
**Last Updated At**: 2nd January 2024

[![The Clean Coder's Guide to Laravel [FREE 70 Page PDF]](https://ashallendesign.ams3.cdn.digitaloceanspaces.com/public/blog/27/clean-coders-guide-to-laravel-blog-post_small.png)](/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\]](/content/blog/the-clean-coders-guide-to-laravel-free-70-page-pdf/index.html)

87 Comments

Ashley Allen ·

14th July 2021

03 Jul

5 mins

## [How to Create Your Own Helper Functions in Laravel](/content/blog/how-to-create-your-own-helper-functions-in-laravel/index.html)

7 Comments

Ashley Allen ·

3rd July 2021

25 Jun

10 mins

## [Cleaning Up Laravel Controllers](/content/blog/cleaning-up-laravel-controllers/index.html)

9 Comments

Ashley Allen ·

25th June 2021

17 Jun

6 mins

## [Using the Strategy Pattern in Laravel](/content/blog/using-the-strategy-pattern-in-laravel/index.html)

0 Comments

Ashley Allen ·
**Last Updated At**: 2nd January 2024

08 Jun

10 mins

## [Using Interfaces to Write Better PHP Code](/content/blog/using-interfaces-to-write-better-php-code/index.html)

6 Comments

Ashley Allen ·
**Last Updated At**: 2nd January 2024

21 May

5 mins

## [How to Force Eager Loading and Prevent N+1 Issues in Laravel](/content/blog/how-to-force-eager-loading-and-prevent-n-1-issues-in-laravel/index.html)

1 Comment

Ashley Allen ·
**Last Updated At**: 2nd January 2024

11 May

5 mins

## [7 Top Tips for New Web Developers](/content/blog/7-top-tips-for-new-web-developers/index.html)

0 Comments

Ashley Allen ·

11th May 2021

29 Apr

3 mins

## [How to Use the sole() Method on Laravel Collections](/content/blog/how-to-use-the-sole-method-on-laravel-collections/index.html)

4 Comments

Ashley Allen ·

29th April 2021

21 Apr

3 mins

## [How to Swap Items in an Array Using Laravel Macros](/content/blog/how-to-swap-items-in-an-array-using-laravel-macros/index.html)

0 Comments

Ashley Allen ·

21st April 2021

17 Mar

3 mins

## [How to Filter Laravel Collections Using whereInstanceOf](/content/blog/how-to-filter-laravel-collections-using-whereinstanceof/index.html)

4 Comments

Ashley Allen ·

17th March 2021

29 Jan

8 mins

## [How to Make Your Laravel App More Testable](/content/blog/how-to-make-your-laravel-app-more-testable/index.html)

9 Comments

Ashley Allen ·

29th January 2021

05 Jan

7 mins

## [How to Validate Email Addresses using Laravel Mailbox Layer](/content/blog/how-to-validate-email-addresses-using-laravel-mailbox-layer/index.html)

0 Comments

Ashley Allen ·

5th January 2021

21 Oct

8 mins

## [Top 8 Free and Paid Resources for Learning Laravel](/content/blog/top-8-free-and-paid-resources-for-learning-laravel/index.html)

2 Comments

Ashley Allen ·

21st October 2020

04 Oct

11 mins

## [6 Quick & Easy Ways to Speed Up Your Laravel Website](/content/blog/6-quick-and-easy-ways-to-speed-up-your-laravel-website/index.html)

7 Comments

Ashley Allen ·
**Last Updated At**: 2nd January 2024

29 Sep

4 mins

## [How To Create Professional Graphics For Your Website, Blog and Social Media Posts For Free](/content/blog/professional-graphics-for-website-design-and-social-media/index.html)

0 Comments

[Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Design](/content/blog?category=web-design/index.html)

Ashley Allen ·

29th September 2019

02 Sep

2 mins

## [How To Check In 30 Seconds If Your Password Has Been Leaked](/content/blog/how-to-check-if-password-is-leaked/index.html)

0 Comments

[Security & Privacy](/content/blog?category=security-and-privacy/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Tutorial](/content/blog?category=tutorial/index.html)

Ashley Allen ·

2nd September 2019

01 Sep

2 mins

## [Quick Tip: Improve Your Security For Free With Avast Antivirus](/content/blog/improve-security-with-avast-antivirus/index.html)

0 Comments

Ashley Allen ·

1st September 2019

30 Aug

3 mins

## [Quick Tip: Improve Your Online Privacy with DuckDuckGo](/content/blog/improve-privacy-with-duck-duck-go/index.html)

0 Comments

Ashley Allen ·

30th August 2019

03 Apr

4 mins

## [1 Free Trick to Increase Website Traffic Sales in Minutes](/content/blog/1-free-trick-to-increase-website-sales/index.html)

0 Comments

[Business](/content/blog?category=business/index.html) [Tips & Tricks](/content/blog?category=tips-and-tricks/index.html) [Web Design](/content/blog?category=web-design/index.html)

Ashley Allen ·

3rd April 2019

[1](/content/blog?category=tips-and-tricks#/index.html)
