Skip to main content

All Tutorials

In-depth Laravel tutorials covering advanced topics, real-world examples, and best practices.

Tutorial Free

Laravel Vouchers Package: Add Discounts to your Project

Another package review on our YouTube channel, this time it's Laravel Vouchers by Beyondcode. Probably the most simple way to add discount codes to your Laravel app.

Tutorial Free

Invokable Controllers with One Specific Action

Sometimes you need to create a controller which doesn't cover all seven resourceful methods, like index(), create(), store() etc. You just need controller which does one thing and you're struggling how to name that method. No more struggle, there's __invoke() method.

Tutorial Free

Validation Rules: Required If/With/Without

New video on our YouTube channel, this time we're talking about required rule when applied to more than one field, if they are related to each other.

Tutorial Free

8 Things You Can Customize in Laravel Registration

Laravel has a great Auth system out-of-the-box, with just a few commands you can have Login/Register functions ready. But let's dive a little deeper and see what we can easily customize.

Tutorial Free

New Package Laravel-Searchable: Easily Search in Multiple Models

Spatie team is still on fire with new packages. This week they released another one called Laravel Searchable, created mainly by AlexVanderbist. I've tried it myself and can show you a demo, along with my opinion.

Tutorial Free

Did You Know: Five Additional Filters in belongsTo() or hasMany()

Typical Eloquent one-to-many relationship is defined with belongsTo() and hasMany() methods in the model. But did you know you can chain more methods to filter specific records for that relationship? Let me show you what I mean.

Tutorial Free

Laravel Excel Demo: Export -> Edit -> Import Back

This is a free 15-minute live-coding video from my course "Excel Export/Import in Laravel". In this video, I'm seeding some data, exporting it to Excel, edit some data there and importing it back, all with Laravel Excel package.

Tutorial Free

Laravel Validation Rules: PRESENT and FILLED

There is a well-known Laravel validation rule required. But did you know there a few similar rules called present and filled? In this short video, I'm showing the differences and use-cases.

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.