Let me introduce you to request handlers. The concept is very simple, yet very unknown to a lot of PHP developers. A request handler is basically a controller, but limited to one single action. This concept is very similar to the Action-Domain-Responder pattern which was proposed by Paul M. Jones, an alternative for the MVC pattern that focuses on a more clear request to response flow for web applications.
Hey Laravel friends! 1000s of Ruby developers know and love Honeybadger. We recently attended our first Laracon, though, and OMG, you are all awesome. Naturally, we're rebuilding Honeybadger from scratch, just for you. Learn more here (sponsored link)