laravel:exception-handling-and-logging

Installation
SKILL.md

Exception Handling and Logging

Treat errors as first-class signals; provide context and paths to remediation.

Commands

// app/Exceptions/Handler.php
public function register(): void
{
    $this->reportable(function (DomainException $e) {
        Log::warning('domain exception', ['code' => $e->getCode()]);
    });
Installs
85
GitHub Stars
139
First Seen
Jan 21, 2026
laravel:exception-handling-and-logging — jpcaparas/superpowers-laravel