What problem does it solve?
Laravel projects often ship with insecure defaults that expose authentication, authorization, input handling, and deployment configurations to risk. This Skill provides a comprehensive, opinionated set of security best practices to close common gaps and reduce exposure across the development lifecycle.
Core Features & Use Cases
- Middleware and guards enforce authentication and authorization boundaries, protect CSRF, and apply security headers.
- Validation rules and mass-assignment protections prevent invalid input and data leakage.
- Signed routes, encryption, and secure token handling safeguard sensitive data and session integrity.
- Secrets management and secure deployment practices minimize credential exposure and configuration drift.
- Use Case: Secure admin dashboards and API endpoints by enforcing strict access control and input validation in all requests.
Quick Start
Enable CSRF protection, configure trusted proxies, set APP_KEY securely, and enforce strong validation rules across your Laravel endpoints.