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 // enable auth and throttle middleware
$app->routeMiddleware([ $app->routeMiddleware([
'auth' => App\Http\Middleware\Authenticate::class, '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; use Illuminate\Support\Carbon;
// don't forget to include Passport // don't forget to include Passport
use Nomadnt\LumenPassport\Passport; use Fufle\LumenPassport\Passport;
class AuthServiceProvider extends ServiceProvider class AuthServiceProvider extends ServiceProvider
{ {

View File

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

View File

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

View File

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

View File

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