Laravel Gists

GuessModule Middleware Built for the Caffeinated/Modules package for Laravel 5, this middleware attempts to guess the module currently used based on the subdomain being accessed. It makes the following assumptions: There are routes that can not, or are difficult, to add the IdentifyModule middleware to. For example, using Laravel Spark. Each module represents a subdomain […]