laravel:exception-handling-and-logging
CommunityRobust error handling and logging for Laravel.
Authormeistro57
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a structured approach to managing exceptions and logging within a Laravel application, ensuring better observability and graceful failure handling.
Core Features & Use Cases
- Custom Exception Handling: Define specific logic for reporting and rendering different types of exceptions.
- Structured Logging: Implement context-rich, structured logs to aid in debugging and monitoring.
- Channel Strategy: Route logs to appropriate channels for better organization and analysis.
- Use Case: Automatically log specific domain exceptions with a warning level and return a clean JSON response for model not found errors when the request expects JSON.
Quick Start
Configure the exception handler to report domain exceptions with a warning and render model not found exceptions as a 404 JSON response.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: laravel:exception-handling-and-logging Download link: https://github.com/meistro57/chat_bridge/archive/main.zip#laravel-exception-handling-and-logging Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.