Prevent users from reusing recently used passwords. We'll track and store when a user changes their password, then create a custom validation rule to use anywhere. We'll create a command to frequently clear up the database, too.
Need to keep a record of updates to your models? Great! Let's build a convenient, reusable trait that can be immediately used to track changes to the data in our database.
Using mutators to set properties in your models can really clean up your code. In this snippet, we'll look at an example of automatic password hashing and see how much tidier our controllers end up.
There are a ton of ways to create custom validation rules in Laravel, but which one do you pick? And what happens if you need to push custom rules further? Well, this course will show you how.
Too much logic in your views? Cluttered models? Bring in view presenters and tidy things up! We'll incrementally refactor from the simplest solution to a clean, reusable system.
Implementing two-factor authentication in a Vue.js app using a Laravel backend. We'll cover each step, and finally bring it together to allow users to enable it, protect their accounts and disable it securely.
Authentication doesn't need to be complicated. Let's cover a clean, simple method of authenticating with Vue and Vuex. We're using a Laravel API, but you can use any language or framework.
Ordering database records seems pretty simple, but what if you need more flexibility? This course covers one method for allowing complete control over inserting records at any position. Think drag and drop sorting.
It's a simple app concept, but you'll learn Flutter routing, how to create and use an app drawer, make API requests and more.
A guide to using roles and permissions in your Vue/Nuxt app, directly from your API.
Everything you need to get started with team functionality in Laravel, including roles, permissions and pricing plans for different team sizes.
An app that allows users to post statuses to a shared timeline and like them, all with realtime updates using the Laravel Websockets package.
Build out custom multistep form functionality for Laravel, with the ability to persist data for each step, navigate back and forward, prevent accessing future steps and more.
Custom Laravel collections add another level of fluency to your code. Let's take a look at a couple of examples to get you started.
Nesting huge amounts of data like comments? Here's a unique technique combining API data and frontend logic to make it a breeze.
Elasticsearch is a powerful search engine, and we're hooking it into Laravel Scout to give you powerful search capabilities without relying on an expensive, third-party service!