Hello there,
My application is build with laravel 5.0.33,
I did 'composer require chrisbjr/api-guard' and it install with dependencies,
When I add 'Chrisbjr\ApiGuard\Providers\ApiGuardServiceProvider::class,' to service provider it throws below exception,
unknown service provider Chrisbjr\ApiGuard\Providers\ApiGuardServiceProvider::class.
When i make a request to my contoller:
i get this:
Argument 1 passed to Chrisbjr\ApiGuard\ApiGuardAuth::__construct() must be an instance of Chrisbjr\ApiGuard\Contracts\Providers\Auth, null given, called in E:\xampp\xampp\htdocs\2016\api\vendor\chrisbjr\api-guard\src\Providers\ApiGuardServiceProvider.php on line 49 and defined
P.S. I am using laravel 5.2
untitled-1