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.
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.
Some controllers have one action. What should you name that action? Turns out you don't even have to.
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.
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.
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.
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.
If you're chaining where methods when building queries with Eloquent, check out this simple refactoring tip.
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.
Here's how to use DigitalOcean spaces with Laravel's Filesystem. It's as easy as using S3!
You may have used the optional() helper in the Laravel framework before, but did you know about the optional callback?
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.
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.
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.
Let's walk through the Laravel tap() function, and how it might help clean up our code.
Build a partial to generate dynamic breadcrumbs based on your route structure, with plenty of refactoring along the way.