You’re minding your own business, when suddenly: Great, an error in a compiled view. Wouldn’t it be awesome if we could click the stack trace, and open that file and line number immediately in PHPStorm? The answer is yes, it would be. In fact, this feature is so useful, hacky workarounds have existed for years […]
If you’ve finally made the upgrade to Laravel 5.4, you may have been greeted with an ambiguous error message like this one: If you’ve hit this error, odds are you are registering middleware in a service provider or in your application at runtime. Perhaps something like this: The underlying issue is that the Laravel router […]