IanBrison / Bravel

My Original Framework
12 stars 0 forks source link

something like the middleware in Laravel #24

Open IanBrison opened 5 years ago

IanBrison commented 5 years ago

I don't like writing the csrf_token checkers every time I post. Something like a middleware in Laravel should automatically handle it. Maybe call it Filter in Bravel?? 🤔

IanBrison commented 5 years ago

I really have to make this to avoid having the auth method in the router I don't want to directly control the authorization from it

IanBrison commented 5 years ago

AOP might be close to what I want to do