Composer Package to facilitate authorization using doctrine 2 in Laravel framework