Articles

Showing 10 posts
July 17th, 2025

Form Submit Confirmation with Alpine.js

Need to add simple form submission confirmation to your forms? Alpine.js allows you to handle this with a few lines of code!

Author
Alex Garrett-Smith
Alpine.js
July 14th, 2025

The Best Places to Learn Laravel in 2025

It can be super confusing to know where to focus your time when you first start learning Laravel. Due to Laravel's popularity, there's no shortage of educational content. Saying that, it's best to narrow it down and focus on high quality over volume.

Author
Alex Garrett-Smith
Laravel
May 27th, 2025

Redirect to a Controller Method in Laravel

Laravel provides tons of options for redirecting, but did you know you can redirect specifically to a controller method?

Author
Alex Garrett-Smith
Laravel
May 26th, 2025

Check for null AND empty string in Laravel (or just PHP, really)

Checking for null and empty strings, particularly when you're dealing with the database, is a good idea.

Author
Alex Garrett-Smith
Laravel
PHP
May 23rd, 2025

Validate Image Dimensions in Laravel

It's possible to not only validate image file types, but also dimensions.

Author
Alex Garrett-Smith
Laravel
May 22nd, 2025

The Easiest Way to Create RSS Feeds From Your Models in Laravel

I've set up multiple RSS feeds in the past, and with this package, it's never taken more than 10 minutes.

Author
Alex Garrett-Smith
Laravel
May 21st, 2025

Registering Policies in Laravel 12

If you're making use of policies in Laravel for authorization, here's how to register them.

Author
Alex Garrett-Smith
Laravel
May 20th, 2025

How to Change Columns in Laravel Database Migrations

At some point, you may need to adjust specific columns in existing tables. Let's take a look at how to change existing columns in Laravel migrations.

Author
Alex Garrett-Smith
Laravel
May 19th, 2025

How to Change the Guest Redirection URL in Laravel 12

Starting from Laravel 11, the method of setting the redirection URL for guests changed.

Author
Alex Garrett-Smith
Laravel
May 17th, 2025

How to fix "Route [login] not defined" in Laravel

Laravel's authentication automatically redirects users to a named login route. Here's the error you'll see if you haven't defined one, and how to fix it.

Author
Alex Garrett-Smith
Laravel

Tags