This commit is contained in:
Michal Sieciechowicz 2021-03-01 11:25:18 +01:00
parent d995372bae
commit 7bf1f97881
5 changed files with 10 additions and 10 deletions

View File

@ -110,7 +110,7 @@ $app->configure('auth');
// enable auth and throttle middleware
$app->routeMiddleware([
'auth' => App\Http\Middleware\Authenticate::class,
'throttle' => Nomadnt\LumenPassport\Middleware\ThrottleRequests::class
'throttle' => Fufle\LumenPassport\Middleware\ThrottleRequests::class
]);
...
@ -171,7 +171,7 @@ use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Carbon;
// don't forget to include Passport
use Nomadnt\LumenPassport\Passport;
use Fufle\LumenPassport\Passport;
class AuthServiceProvider extends ServiceProvider
{

View File

@ -2,13 +2,13 @@
"name": "fufle/lumen-passport",
"description": "Lumen porting of Laravel Passport",
"keywords": ["php","lumen","laravel passport"],
"homepage": "https://github.com/nomadnt/lumen-passport",
"homepage": "http://git.fufle.net/fufle/lumen-passport",
"license": "MIT",
"authors": [
{
"name": "Filippo Sallemi",
"email": "fsallemi@nomadnt.com",
"homepage": "https://nomadnt.com"
"name": "Fufle",
"email": "michal@fufle.net",
"homepage": "http://git.fufle.net/fufle/lumen-passport"
}
],
"type": "library",
@ -18,7 +18,7 @@
},
"autoload": {
"psr-4": {
"Nomadnt\\LumenPassport\\": "src/"
"Fufle\\LumenPassport\\": "src/"
},
"files": [
"src/helpers.php"

View File

@ -1,4 +1,4 @@
<?php namespace Nomadnt\LumenPassport\Middleware;
<?php namespace Fufle\LumenPassport\Middleware;
use Closure;
use RuntimeException;

View File

@ -1,6 +1,6 @@
<?php
namespace Nomadnt\LumenPassport;
namespace Fufle\LumenPassport;
use Illuminate\Support\Facades\Route;
use Laravel\Passport\Passport as LaravelPassport;

View File

@ -1,6 +1,6 @@
<?php
namespace Nomadnt\LumenPassport;
namespace Fufle\LumenPassport;
use Laravel\Lumen\Routing\Router;
use Laravel\Passport\RouteRegistrar as Registrar;