Skip to main content

All Tutorials

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

Tutorial Free

Want an inspirational quote? There's Artisan command for that!

Web-development is not all serious - there are some fun activities too. So let's have a break from mega-urgent code writing and get some inspiration. From our beloved Artisan - with a command "inspire".

Tutorial Free

Bobby Bouwmann: "2 Years and 1000 Best Replies on Laracasts"

In recent years, Laracasts has become a no.1 resource for learning Laravel. Also, there's a really active discussion forum on the website, so we decided to chat with one of the most active members there. Bobby Bouwmann has almost 1000 "Best Reply" awards on the forum, which is a huge number. So what is it like to be so active on Laracasts? Let's find out.

Tutorial Free

Change Default Migrations DB Table in Config

By default, Laravel migration mechanism stores all the operations in database table migrations. Did you know that you can change it? I will show you how and why would you need it.

Tutorial Free

LaraQuiz: how well do you know Laravel?

New mini-project from our Laravel Daily Team - let's test your Laravel knowledge with LaraQuiz.com! Project was created to showcase our own QuickAdmin and mostly for a local Laravel Meetup, but hey - why not share with the world, right?

Tutorial Free

Model Default Ordering: Assigning a Global Scope

Quite an often situation in real-life projects that you have to order lists by a certain condition. For example, countries/cities in alphabetical order everywhere. Is there a way to avoid adding "orderBy" every time we make a list for a dropdown? Apparently, it's pretty easy - we can use Global Scopes.

Tutorial Free

Laravel Auth: Login With Email Or Username (In One Field)

Quick tip for you guys. What if in your project users can login not only with email but also with some other field, like "username" or "user_id" or whatever? By default Laravel allows only one field like 'email'. That's actually easy to change.

Tutorial Free

REVIEW: 3 Tools to Generate Laravel Migrations from Existing Database

Recently I've found a few interesting tools that help generate Laravel migrations automatically from your already existing database schema. In theory it looks very cool, but we decided to test them - I asked a colleague to actually try them all out with real demo-projects. How do they generate filenames and field types? Additional rules? Foreign keys? Do they actually work? Let's take a look.