I wanted to incorporate GUMP https://github.com/Wixel/GUMP into my Slim rest framework.
I am looking to intercept a GET or POST request before validating it with GUMP before continuing to process. Could anyone provide a brief snippet of code how to do this as I was unable to figure it out using middleware (server is on php 5.2).
thanks