Laravel Tutorials

Tutorials on everything from getting started with Laravel, to expert topics, and everything in between.

Hire two world-class Laravel devs in less time than it takes to post on a job board.

Visit No Compromises
Optimize Laravel Eloquent Queries with Eager Loading image

Optimize Laravel Eloquent Queries with Eager Loading

Learn how to optimize your related model queries in Laravel with eager loading. We will set up some example relationships and then walk through how qu...

Read article
Laravel 5.5 Responsable Interface for Responses image

Laravel 5.5 Responsable Interface for Responses

A new return type will be supported in Laravel 5.5 routes: the “Responsable” interface. This contract allows objects to be converted to an...

Read article
Image Optimization With Spatie Laravel Image Optimizer image

Image Optimization With Spatie Laravel Image Optimizer

Image optimization can greatly improve site performance, and is one of the most common issues I see in Google pagespeed insights reports. Sometimes im...

Read article
Laravel 5.5 Custom Validation Rule Objects image

Laravel 5.5 Custom Validation Rule Objects

Laravel 5.5 will introduce support for custom validation rule objects as an alternative to using Validator::extend.

Read article
Blade::if() Directives image

Blade::if() Directives

A new Blade addition in Laravel 5.5 will add support for simplifying custom if statements in your views.

Read article
Laravel 5.5 Pivot Casting image

Laravel 5.5 Pivot Casting

A new addition to Laravel 5.5 will add support for pivot table casts when inserting & updating data on an intermediate table model.

Read article
DD and Dump Are coming to Collections in Laravel 5.5 image

DD and Dump Are coming to Collections in Laravel 5.5

Coming to Laravel 5.5 is two brand new methods on the Collections class that will make debugging easier than ever before. These are “dd” a...

Read article
Laravel Package Auto-Discovery image

Laravel Package Auto-Discovery

Package Auto-Discovery is coming to Laravel 5.5 and you’ll no longer have to manually define the Service Provider or Alias in the config app fil...

Read article
Developing a CI Process for Laravel with Codeship and Forge image

Developing a CI Process for Laravel with Codeship and Forge

Codeship empowers developers to efficiently test and deploy web applications with a basic command. This tutorial demonstrates some of the platform’s f...

Read article
Packagist and the PHP ecosystem image

Packagist and the PHP ecosystem

Take a look at how Composer finds its packages, and how to publish packages of your own, and some security considerations when using Composer in your...

Read article
Laravel 5.5. Custom Validator Rules image

Laravel 5.5. Custom Validator Rules

A new feature coming to Laravel 5.5 is a new feature for adding custom validation rules and Taylor has a written up a quick tutorial on it.

Read article
Generate a JSON Feed with Laravel image

Generate a JSON Feed with Laravel

JSON Feed is a new project aiming to put together a formal spec for JSON based RSS feeds and here is an example of how to integrate it into your Larav...

Read article
Laravel throw_if and throw_unless Helpers image

Laravel throw_if and throw_unless Helpers

Coming to Laravel 5.5 is two new helper methods named `throw_if` and `throw_unless` and both are designed to make it easier to throw exceptions.

Read article
Laravel 5.5 Returns the Request Data from the Validator image

Laravel 5.5 Returns the Request Data from the Validator

A new feature coming to Laravel 5.5 is the Validation will now return the request data so you have everything you need.

Read article
Laravel 5.5 Gets Improvements with the Default Error Views image

Laravel 5.5 Gets Improvements with the Default Error Views

Coming in Laravel 5.5 is a new and improved design for the error pages.

Read article
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Larafast: Laravel SaaS Starter Kit logo

Larafast: Laravel SaaS Starter Kit

Larafast is a Laravel SaaS Starter Kit with ready-to-go features for Payments, Auth, Admin, Blog, SEO, and beautiful themes. Available with VILT and TALL stacks.

Larafast: Laravel SaaS Starter Kit
Lucky Media logo

Lucky Media

Bespoke software solutions built for your business. We ♥ Laravel

Lucky Media
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Rector logo

Rector

Your partner for seamless Laravel upgrades, cutting costs, and accelerating innovation for successful companies

Rector
Lunar: Laravel E-Commerce logo

Lunar: Laravel E-Commerce

E-Commerce for Laravel. An open-source package that brings the power of modern headless e-commerce functionality to Laravel.

Lunar: Laravel E-Commerce