I\'m trying to extend the Laravel-5.1 Auth middleware so that I can add my own method to it:
Auth
Auth::hasRole()
What do I need to do in or
There are some good packages to help with this if you don't want to brew your own. I can recommend both: Zizaco Entrust: https://github.com/Zizaco/entrust and Sentinel: https://cartalyst.com/manual/sentinel/2.0