Laravel courses

Snippet
Laravel
Grouping Laravel Notifications

Need to send a notification to a group of users without looping in your controllers? Let's abstract this away and write some nice clean code.

1 episode
8 mins
Course
Laravel
Better Laravel Database Notifications

In this course we're going to tweak the default Laravel database notification process so we can refresh notifications whenever you make changes to their structure. This keeps your code cleaner, more concise and makes it really easy to render different notification types.

8 episodes
50 mins
Snippet
Laravel
Magically invoking Laravel controller methods

Some controllers have one action. What should you name that action? Turns out you don't even have to.

1 episode
2 mins
Course
Laravel
New in Laravel 5.7

Laravel 5.7 brings us a few really helpful changes, notably email verification for signups. Let's review this and some of the other changes to get you up to speed.

5 episodes
28 mins
Snippet
Laravel
Automatically generating events and listeners in Laravel

A quick tip that'll save you huge amounts of time if your app is heavily event driven. Define Laravel events and listeners, then have the classes automatically generated for you.

1 episode
1 min
Course
Laravel
Real-time User Experience Points

Integrate beautifully simple functionality to award your users experience points. We'll cover the basics, formatting large numbers for displaying and real-time updates on the client.

10 episodes
52 mins
Course
Laravel
Laravel Hashids

Hashids hide the standard incrementing primary keys of your database from the public, but can also offer a more personalised touch if you're building an API.

8 episodes
29 mins
Snippet
Laravel
Refactoring chained where methods in Laravel

If you're chaining where methods when building queries with Eloquent, check out this simple refactoring tip.

1 episode
2 mins
Snippet
Laravel
Bootable traits in Laravel

If you need to register something within the boot() method of a model, here's a quick tip to do this within a trait if needed.

1 episode
6 mins
Snippet
Laravel
DigitalOcean spaces with Laravel

Here's how to use DigitalOcean spaces with Laravel's Filesystem. It's as easy as using S3!

1 episode
4 mins
Snippet
Laravel
The optional() helper callback

You may have used the optional() helper in the Laravel framework before, but did you know about the optional callback?

1 episode
5 mins
Course
Laravel
PHP
Action-Domain-Responder (ADR) with Laravel

ADR is a user interface pattern much better suited to the web than MVC (Model-View-Controller). Let's implement this in the Laravel framework and see how it works.

10 episodes
1 hr 16 mins
Snippet
Laravel
Using multiple keys for route model binding

By default, Laravel uses one key for route model binding lookup. When you need to use two or more, this is how to do it.

1 episode
4 mins
Course
Laravel
Firing webhooks from your Laravel app

You may listen to a lot of webhooks, but do your users need them for their apps? Allow your users to register webhooks URLs and receive data directly to their app when an event occurs.

7 episodes
38 mins
Snippet
Laravel
The Laravel tap() function

Let's walk through the Laravel tap() function, and how it might help clean up our code.

1 episode
18 mins
Snippet
Laravel
Dynamic breadcrumbs in Laravel

Build a partial to generate dynamic breadcrumbs based on your route structure, with plenty of refactoring along the way.

1 episode
21 mins