Skip to main content

All Tutorials

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

Tutorial Free

Eloquent Touch for Models and their Relationships

There are two "tricks" I want to show you here. Probably you will know one of them, but might not know the other one. So, you know there are fields created_at and updated_at in Eloquent tables, right?

Tutorial Free

Releasing Laravel Packages: Good, Bad and Ugly

Here's the 2nd episode of my new Laravel Business video show where once a week I share the thoughts about Laravel-related work from the business perspective, as I'm transitioning from being a developer to being an owner of a small team.

Tutorial Free

10 less-known Laravel Packages: April 2016

There's so many Laravel packages out there! Around 8500, to be exact. And so many of them unknown to the public, because authors are not shouting about them too loud. So I decided to help them and start a monthly digest of less-known packages, presenting them at my local meetup in Lithuania, and also on the blog. So here's 10 packages I've found this month.

Tutorial Free

Laravel Router - a package to organize your routes

One of the most common questions in Laravel world is how to organize the routes file, especially for bigger projects. Of course, you can have groups, prefixes and similar things, but today I want to present to you a package by Sebastiaan Luca - called Laravel Router.

Tutorial Free

MailTrap - send testing email without actually sending it

After all those recent Mandrill news the whole web-dev community was shaken up and started looking for alternatives for transactional emails. And actually, there is a whole another way of thinking about it: do we always actually need to send the email?

Tutorial Free

Migration - down: check if table has column

One of the problem with database migrations in Laravel is developers rarely actually test "down" migrations - even when testing we usually re-generate the whole schema from scratch instead of launching down() functions. Therefore I would advice to check something before doing down migrations.

Tutorial Free

Review: Top 5 Laravel-based CMSs

When talking about Frameworks vs CMSs, we usually compare one to another. But in fact there are quite a lot of CMSs that are built on top of frameworks! Laravel isn't an exception and there are a few popular CMS projects which deserve attention. So I decided to look at the market and do a quick testing of those. Let's see what I've found.

Tutorial Free

str_plural(): Quickest way to show plural noun

Laravel has a lot of helpers, for example to work with strings or arrays. One of them in particular helps with pluralization. Here's what I mean.

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.