getherbert / herbert

The WordPress Plugin Framework:
http://getherbert.com/
632 stars 94 forks source link

How I can use Laravel's HTTP Middleware #137

Open giwrgos88 opened 8 years ago

giwrgos88 commented 8 years ago

As far as I know the plugin is using some Laravel's libraries. Does anyone tried to include the HTTP Middleware? I want to add before and after middleware to my routes, like check if user is authenticated before execute the controller or add some throttle to my api calls