opale/console-exception-bundle
Opale ConsoleExceptionBundle enhances exception handling for Symfony console commands, replacing noisy stack traces with clearer, more readable error output so CLI failures are easier to diagnose and debug. A lightweight integration for Symfony applications.
Architecture fit
opale/console-exception-bundle), not a Laravel package. It ships a bundle class, service definitions, and a console event listener wired for Symfony's ConsoleEvents::EXCEPTION. Laravel has no bundle/kernel-extension mechanism, so the package cannot be installed and auto-discovered the way a Laravel package can.Application only dispatches ConsoleEvents::EXCEPTION when an event dispatcher is attached to the console application, and Laravel does not attach one by default. The bundle's listener would therefore never fire under Artisan without custom bootstrap work — making the "it's Symfony Console under the hood" argument weaker than it first appears.Integration feasibility
Application console dispatcher into Symfony's console event dispatcher. That is non-trivial, undocumented glue code with no upstream to lean on.Technical risk
Key questions
Illuminate\Console\Events\CommandFinished / Artisan::starting hooks and report() on Throwable do not already do? If the answer is "nothing," this is a rebuild, not an integration.LoggerInterface? Direct Monolog coupling would require a bridge to Laravel's Log facade.ExceptionHandler in a day?Recommendation: Do not integrate. Treat this repository as reference material for a small, in-house implementation.
Stack fit
ExceptionHandler, a listener on Illuminate\Console\Events\CommandFinished (inspecting exit codes), Illuminate\Console\Scheduling\Event hooks (onFailure), and a channel in config/logging.php feeding alerting. All first-party, all maintained, all zero-cost.Migration path
app/Console/Support/ under your own namespace, drop Composer entirely (the package is not on a maintained path and pulling it adds supply-chain surface for zero benefit), and register it manually in AppServiceProvider or a dedicated console service provider.Compatibility
psr/log and Symfony Console only.Sequencing
opale/console-exception-bundle to composer.json.Maintenance
Support
Scaling
Failure modes
Ramp-up
ConsoleEvents, scheduling failure hooks) and familiarity with the existing exception handler and logging configuration. That person should own the reimplementation and the accompanying decision record.Bottom line: the requirement is worth solving; this package is not the way to solve it. Score of 0.1175 is consistent with the evidence — archived, single-star, zero dependents, wrong framework, nine years stale. Log the rejection, write the spec, and build the ~50 lines natively.
How can I help you explore Laravel packages today?