akrz

Results 6 comments of akrz

if someone used the artisan make:auth command, you can use this package by writing your User class as: ``` php use Illuminate\Foundation\Auth\User as Authenticatable; use Bican\Roles\Traits\HasRoleAndPermission; use Bican\Roles\Contracts\HasRoleAndPermission as HasRoleAndPermissionContract;...

Tabs would be great. Is there a way to create a plugin that display tabs?

I've got the same problem with svn, all lines are showing as changed. OS: windows 8.1 svn and diff commands are in the PATH and can be executed from anywhere....

Sort of, I do a catch of HttpMethodNotAllowedException and check that the HTTP method is OPTIONS. i.e.: ```php try { // dispatch route... } catch (HttpMethodNotAllowedException $e) { if ($requestMethod...

catch HttpRouteNotFoundException and do whatever you want

You are probably using a closure on a filter. If you declare the filter as ```php $app->router->filter('auth', [MyController::class, 'checkAccess']); ``` And in the class: ```php class MyController { public function...