for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* rmarchiv.tk
* (c) 2016-2017 by Marcel 'ryg' Hering
*/
namespace App\Providers;
use Dingo\Api\Auth\Provider\JWT;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
public function boot()
//
app('Dingo\Api\Auth\Auth')->extend('jwt', function ($app) {
return new JWT($app['Tymon\JWTAuth\JWTAuth']);
});
}
* Register any application services.
public function register()
if ($this->app->environment() == 'local') {
$this->app->register('Iber\Generator\ModelGeneratorProvider');