I'm available to work on new projects starting August 2018! Get in touch!

Back to post list

Why Care About PHP Middleware?

01-06-2016

Phil Sturgeon wrote a blog post explaining why the recent PSR-7 middleware is useful and can save both frameworks and users a lot of time.

Unlike the way the Ruby and Python communities ability to align on a single solution, PHP needs the elders of the large framework tribes to come together to pick standard interfaces for these things to get the same affect. This in turn pushes large swathes of the community towards a single standard, and if it comes with framework approval people end up using it regardless. Luckily we’re half way to that solution with PSR-7, which specifies interfaces for HTTP requests and responses. Awesome!

Read the article on Phil Sturgeon's blog.

I'm available to work on new projects starting August 2018! Get in touch!

Laravel: Validate login and register forms on the same view Finally, file streams, and deferred execution in PHP