Skip to content

Commit

Permalink
Add support for custom errors via component-laravel
Browse files Browse the repository at this point in the history
  • Loading branch information
mbardelmeijer committed Mar 18, 2024
1 parent d76be50 commit dec19fb
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 33 deletions.
24 changes: 21 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,32 @@ APP_MAINTENANCE_DRIVER=file
APP_MAINTENANCE_STORE=database

BCRYPT_ROUNDS=12
VITE_HOST=laravel-blueprint.enflow.test

LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=

NOVA_LICENSE_KEY=
LOG_STACK=singleSESSION_ENCRYPT=false
MAIL_MAILER=log
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

SESSION_DRIVER=file
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null

NOVA_LICENSE_KEY=

VITE_HOST=laravel-blueprint.enflow.test
5 changes: 4 additions & 1 deletion bootstrap/app.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

use App\Providers\AppServiceProvider;
use Enflow\Component\Laravel\AbstractExceptionHandler;
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
Expand All @@ -26,5 +27,7 @@
$middleware->throttleApi();
})
->withExceptions(function (Exceptions $exceptions) {
//
// $exceptions->dontReport([
// \Symfony\Component\Console\Exception\CommandNotFoundException::class,
// ]);
})->create();
29 changes: 14 additions & 15 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file removed config/.gitkeep
Empty file.
14 changes: 0 additions & 14 deletions config/mail.php

This file was deleted.

0 comments on commit dec19fb

Please sign in to comment.