Custom guard for your Laravel module

Again I’ll be writing about the Laravel modules package. This time it’s about adding a custom guard for your Laravel module. It’s not a very common requirement, but it happens from time to time that a custom login is required. Configuration Before we begin we’ll make two configuration files in our module. We will add

Custom route overrides in Laravel modules

I’m currently working on an application which uses the laravel-modules package by nwidart. I have used this package on multiple occasions before, but this time I had to do something new. The modules had to accept custom route overrides. The traditional approach Normally, when you have to override package routes, you need to add the