Laravel Security Best Practices
Implements comprehensive Laravel security patterns including authentication, authorization, data validation, and secure deployment configurations.
The Laravel Security skill provides specialized guidance for hardening Laravel applications against common web vulnerabilities. It covers essential security topics such as CSRF and XSS protection, policy-based authorization, secure file handling, and rate limiting. By following these patterns, developers can ensure their applications adhere to production-grade security standards, including proper environment configuration, secure cookie management, and robust API authentication using Sanctum or Passport.
主な機能
01Hardened production deployment checklists and security headers
02Secure file upload validation and storage strategies
03214,597 GitHub stars
04Automated protection against SQL injection, XSS, and CSRF
05Comprehensive rate limiting for API and authentication endpoints
06Fine-grained access control via Laravel Policies and Gates
ユースケース
01Implementing complex authorization logic for multi-tenant applications
02Hardening a Laravel API with Sanctum and custom rate limiting
03Auditing existing Laravel codebases for common security misconfigurations