From 17173164370f451ae4c5e28a65e0e349afc9edfd Mon Sep 17 00:00:00 2001 From: Johannes Schobel Date: Thu, 5 Apr 2018 18:09:06 +0200 Subject: [PATCH] update 7.4 (#399) * adapt .gitignore file * Add SIGNED Middleware * update readme to laravel 5.6 (#397) * small fix --- .github/README.md | 2 +- .gitignore | 9 ++++++--- app/Ship/Kernels/HttpKernel.php | 1 + phpunit.xml | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/README.md b/.github/README.md index ae4e37943..0459929d5 100644 --- a/.github/README.md +++ b/.github/README.md @@ -1,6 +1,6 @@ # Apiato -

Build great API's faster | with PHP and laravel 5.5

+

Build great API's faster | with PHP and laravel 5.6

Apiato Logo diff --git a/.gitignore b/.gitignore index f648bfcfa..f824b183b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,17 +1,20 @@ - /node_modules -/public/storage /public/hot +/public/storage /storage/*.key /vendor +/.idea +/.vscode +/.vagrant Homestead.json Homestead.yaml +npm-debug.log +yarn-error.log .env storage/logs/laravel.log /public/api-rendered-markdowns/* /public/api/ /public/uploads/ /laradock*/ -/.idea _ide_helper*.php .phpstorm.meta.php diff --git a/app/Ship/Kernels/HttpKernel.php b/app/Ship/Kernels/HttpKernel.php index 2b2d8feba..2647f5715 100644 --- a/app/Ship/Kernels/HttpKernel.php +++ b/app/Ship/Kernels/HttpKernel.php @@ -73,6 +73,7 @@ class HttpKernel extends LaravelHttpKernel 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 'can' => \Illuminate\Auth\Middleware\Authorize::class, 'auth' => \Illuminate\Auth\Middleware\Authenticate::class, + 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, // 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, // 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, ]; diff --git a/phpunit.xml b/phpunit.xml index 8a63dd193..726f2832c 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -36,7 +36,7 @@ - +