Matthew Daly's Blog

I'm a web developer in Norfolk. This is my blog...

19th February 2017 3:50 pm

My First Laravel Package

For some time now I’ve had a Laravel middleware I use extensively to add ETags to HTTP requests. I often use it for work projects, but obviously copying and pasting it all the time was a pain. I always meant to create a package for it, but I didn’t want to do so until such time as I had some proper tests for it. Now I’ve finally figured out how to test middleware in isolation and I’ve got around to adding tests and creating a proper package for it.

It’s available on Github and Packagist if you want to use it.

View the article with comments
Decorating Laravel Repositories Integrating Behat With Laravel