Eoghan O'Brien
fullstack developer

Defining Laravel Middleware from inside a composer package

I write everything inside of packages, install using composer and use Service Providers to hook things up. When you do things this way, you make it very easy to upgrade. However, you lose some of the magical, inherently solved problems.

read more