-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
3,606 additions
and
1,655 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace App\Http\Middleware; | ||
|
||
use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware; | ||
|
||
class PreventRequestsDuringMaintenance extends Middleware | ||
{ | ||
/** | ||
* The URIs that should be reachable while maintenance mode is enabled. | ||
* | ||
* @var array<int, string> | ||
*/ | ||
protected $except = [ | ||
// | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
namespace App\Http\Middleware; | ||
|
||
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware; | ||
|
||
class TrimStrings extends Middleware | ||
{ | ||
/** | ||
* The names of the attributes that should not be trimmed. | ||
* | ||
* @var array<int, string> | ||
*/ | ||
protected $except = [ | ||
'current_password', | ||
'password', | ||
'password_confirmation', | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace App\Http\Middleware; | ||
|
||
use Illuminate\Http\Middleware\TrustHosts as Middleware; | ||
|
||
class TrustHosts extends Middleware | ||
{ | ||
/** | ||
* Get the host patterns that should be trusted. | ||
* | ||
* @return array<int, string|null> | ||
*/ | ||
public function hosts(): array | ||
{ | ||
return [ | ||
$this->allSubdomainsOfApplicationUrl(), | ||
]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace App\Http\Middleware; | ||
|
||
use Illuminate\Http\Middleware\TrustProxies as Middleware; | ||
use Illuminate\Http\Request; | ||
|
||
class TrustProxies extends Middleware | ||
{ | ||
/** | ||
* The trusted proxies for this application. | ||
* | ||
* @var array<int, string>|string|null | ||
*/ | ||
protected $proxies; | ||
|
||
/** | ||
* The headers that should be used to detect proxies. | ||
* | ||
* @var int | ||
*/ | ||
protected $headers = | ||
Request::HEADER_X_FORWARDED_FOR | | ||
Request::HEADER_X_FORWARDED_HOST | | ||
Request::HEADER_X_FORWARDED_PORT | | ||
Request::HEADER_X_FORWARDED_PROTO | | ||
Request::HEADER_X_FORWARDED_AWS_ELB; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
namespace App\Http\Middleware; | ||
|
||
use Illuminate\Routing\Middleware\ValidateSignature as Middleware; | ||
|
||
class ValidateSignature extends Middleware | ||
{ | ||
/** | ||
* The names of the query string parameters that should be ignored. | ||
* | ||
* @var array<int, string> | ||
*/ | ||
protected $except = [ | ||
// 'fbclid', | ||
// 'utm_campaign', | ||
// 'utm_content', | ||
// 'utm_medium', | ||
// 'utm_source', | ||
// 'utm_term', | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,34 +16,31 @@ | |
"email": "[email protected]" | ||
}, | ||
"require": { | ||
"php": "^7.3|^8.0", | ||
"php": "^8.0.2", | ||
"doctrine/dbal": "^3.0", | ||
"fideloper/proxy": "^4.4", | ||
"fruitcake/laravel-cors": "^2.0", | ||
"guzzlehttp/guzzle": "^7.0.1", | ||
"laravel/framework": "^8.75", | ||
"laravel/sanctum": "^2.11", | ||
"laravel/tinker": "^2.5", | ||
"laravel/ui": "^3.4", | ||
"laravolt/avatar": "^4.1", | ||
"league/flysystem-aws-s3-v3": "^1.0", | ||
"spatie/laravel-medialibrary": "^9.11" | ||
"guzzlehttp/guzzle": "^7.2", | ||
"laravel/framework": "^9.19", | ||
"laravel/sanctum": "^3.0", | ||
"laravel/tinker": "^2.7", | ||
"laravel/ui": "^4.2", | ||
"laravolt/avatar": "^5.0", | ||
"league/flysystem-aws-s3-v3": "^3.12", | ||
"spatie/laravel-medialibrary": "^10.7" | ||
}, | ||
"require-dev": { | ||
"facade/ignition": "^2.5", | ||
"fakerphp/faker": "^1.9.1", | ||
"laravel/pint": "^1.0", | ||
"laravel/sail": "^1.0.1", | ||
"mockery/mockery": "^1.4.4", | ||
"nunomaduro/collision": "^5.10", | ||
"phpunit/phpunit": "^9.5.10" | ||
"nunomaduro/collision": "^6.1", | ||
"phpunit/phpunit": "^9.5.10", | ||
"spatie/laravel-ignition": "^1.0" | ||
}, | ||
"autoload": { | ||
"classmap": [ | ||
"database/seeds", | ||
"database/factories" | ||
], | ||
"psr-4": { | ||
"App\\": "app/" | ||
"psr-4": { | ||
"App\\": "app/", | ||
"Database\\Factories\\": "database/factories/", | ||
"Database\\Seeders\\": "database/seeders/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
|
@@ -70,9 +67,12 @@ | |
] | ||
}, | ||
"config": { | ||
"optimize-autoloader": true, | ||
"preferred-install": "dist", | ||
"sort-packages": true, | ||
"optimize-autoloader": true | ||
"allow-plugins": { | ||
"pestphp/pest-plugin": true | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
|
Oops, something went wrong.