86 changed files
app | ||
Console | ||
Kernel.php + | ||
Exceptions | ||
Handler.php + | ||
Http | ||
Controllers | ||
Controller.php + | ||
Middleware | ||
Authenticate.php + | ||
EncryptCookies.php + | ||
PreventRequestsDuringMaintenance.php + | ||
RedirectIfAuthenticated.php + | ||
TrimStrings.php + | ||
TrustHosts.php + | ||
TrustProxies.php + | ||
ValidateSignature.php + | ||
VerifyCsrfToken.php + | ||
Kernel.php + | ||
Models | ||
User.php + | ||
Providers | ||
AppServiceProvider.php + | ||
AuthServiceProvider.php + | ||
BroadcastServiceProvider.php + | ||
EventServiceProvider.php + | ||
RouteServiceProvider.php + | ||
bootstrap | ||
cache | ||
.gitignore + | ||
app.php + | ||
config | ||
app.php + | ||
auth.php + | ||
broadcasting.php + | ||
cache.php + | ||
cors.php + | ||
database.php + | ||
filesystems.php + | ||
hashing.php + | ||
logging.php + | ||
mail.php + | ||
queue.php + | ||
sanctum.php + | ||
services.php + | ||
session.php + | ||
view.php + | ||
database | ||
factories | ||
UserFactory.php + | ||
migrations | ||
2014_10_12_000000_create_users_table.php + | ||
2014_10_12_100000_create_password_resets_table.php + | ||
2019_08_19_000000_create_failed_jobs_table.php + | ||
2019_12_14_000001_create_personal_access_tokens_table.php + | ||
seeders | ||
DatabaseSeeder.php + | ||
.gitignore + | ||
lang/en | ||
auth.php + | ||
pagination.php + | ||
passwords.php + | ||
validation.php + | ||
public | ||
.htaccess + | ||
favicon.ico + | ||
index.php + | ||
robots.txt + | ||
resources | ||
css | ||
app.css + | ||
js | ||
app.js + | ||
bootstrap.js + | ||
views | ||
welcome.blade.php + | ||
routes | ||
api.php + | ||
channels.php + | ||
console.php + | ||
web.php + | ||
storage | ||
app | ||
public | ||
.gitignore + | ||
.gitignore + | ||
framework | ||
cache | ||
data | ||
.gitignore + | ||
.gitignore + | ||
sessions | ||
.gitignore + | ||
testing | ||
.gitignore + | ||
views | ||
.gitignore + | ||
.gitignore + | ||
logs | ||
.gitignore + | ||
tests | ||
Feature | ||
ExampleTest.php + | ||
Unit | ||
ExampleTest.php + | ||
CreatesApplication.php + | ||
TestCase.php + | ||
.editorconfig + | ||
.env + | ||
.env.example + | ||
.gitattributes + | ||
.gitignore + | ||
artisan + | ||
composer.json + | ||
composer.lock + | ||
docker-compose.yml + | ||
package-lock.json + | ||
package.json + | ||
phpunit.xml + | ||
README.md + | ||
vite.config.js + | ||
Add comment 1 Plus <?php
Add comment 2 Plus
Add comment 3 Plus namespace App\Exceptions;
Add comment 4 Plus
Add comment 5 Plus use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
Add comment 6 Plus use Throwable;
Add comment 7 Plus
Add comment 8 Plus class Handler extends ExceptionHandler
Add comment 9 Plus {
Add comment 10 Plus /**
Add comment 11 Plus * A list of exception types with their corresponding custom log levels.
Add comment 12 Plus *
Add comment 13 Plus * @var array<class-string<\Throwable>, \Psr\Log\LogLevel::*>
Add comment 14 Plus */
Add comment 15 Plus protected $levels = [
Add comment 16 Plus //
Add comment 17 Plus ];
Add comment 18 Plus
Add comment 19 Plus /**
Add comment 20 Plus * A list of the exception types that are not reported.
Add comment 21 Plus *
Add comment 22 Plus * @var array<int, class-string<\Throwable>>
Add comment 23 Plus */
Add comment 24 Plus protected $dontReport = [
Add comment 25 Plus //
Add comment 26 Plus ];
Add comment 27 Plus
Add comment 28 Plus /**
Add comment 29 Plus * A list of the inputs that are never flashed to the session on validation exceptions.
Add comment 30 Plus *
Add comment 31 Plus * @var array<int, string>
Add comment 32 Plus */
Add comment 33 Plus protected $dontFlash = [
Add comment 34 Plus 'current_password',
Add comment 35 Plus 'password',
Add comment 36 Plus 'password_confirmation',
Add comment 37 Plus ];
Add comment 38 Plus
Add comment 39 Plus /**
Add comment 40 Plus * Register the exception handling callbacks for the application.
Add comment 41 Plus *
Add comment 42 Plus * @return void
Add comment 43 Plus */
Add comment 44 Plus public function register()
Add comment 45 Plus {
Add comment 46 Plus $this->reportable(function (Throwable $e) {
Add comment 47 Plus //
Add comment 48 Plus });
Add comment 49 Plus }
Add comment 50 Plus }
Add comment 51 Plus
EncryptCookies.php
/app/Http/Middleware/EncryptCookies.php/app/Http/Middleware/EncryptCookies.php
PreventRequestsDuringMaintenance.php
/app/Http/Middleware/PreventRequestsDuringMaintenance.php/app/Http/Middleware/PreventRequestsDuringMaintenance.php
RedirectIfAuthenticated.php
/app/Http/Middleware/RedirectIfAuthenticated.php/app/Http/Middleware/RedirectIfAuthenticated.php
ValidateSignature.php
/app/Http/Middleware/ValidateSignature.php/app/Http/Middleware/ValidateSignature.php
VerifyCsrfToken.php
/app/Http/Middleware/VerifyCsrfToken.php/app/Http/Middleware/VerifyCsrfToken.php
AppServiceProvider.php
/app/Providers/AppServiceProvider.php/app/Providers/AppServiceProvider.php
AuthServiceProvider.php
/app/Providers/AuthServiceProvider.php/app/Providers/AuthServiceProvider.php
BroadcastServiceProvider.php
/app/Providers/BroadcastServiceProvider.php/app/Providers/BroadcastServiceProvider.php
EventServiceProvider.php
/app/Providers/EventServiceProvider.php/app/Providers/EventServiceProvider.php
RouteServiceProvider.php
/app/Providers/RouteServiceProvider.php/app/Providers/RouteServiceProvider.php
2014_10_12_000000_create_users_table.php
/database/migrations/2014_10_12_000000_create_users_table.php/database/migrations/2014_10_12_000000_create_users_table.php
2014_10_12_100000_create_password_resets_table.php
/database/migrations/2014_10_12_100000_create_password_resets_table.php/database/migrations/2014_10_12_100000_create_password_resets_table.php
2019_08_19_000000_create_failed_jobs_table.php
/database/migrations/2019_08_19_000000_create_failed_jobs_table.php/database/migrations/2019_08_19_000000_create_failed_jobs_table.php
2019_12_14_000001_create_personal_access_tokens_table.php
/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php