Laravel Security Best Practices
Implements comprehensive security measures for Laravel applications including authentication, validation, and vulnerability protection.
This skill equips Claude with expert-level knowledge to secure Laravel applications using industry-standard best practices. It provides actionable guidance on implementing robust authentication and authorization systems, preventing common vulnerabilities like CSRF, XSS, and SQL injection, and managing secure file uploads. Whether you are building new API endpoints or hardening a production environment, this skill ensures that your code follows strict security protocols for session management, password hashing, and sensitive data encryption.
主な機能
01Strict input validation and sanitization using Form Requests
02Built-in protection against CSRF, XSS, and SQL injection
03214,597 GitHub stars
04Authentication and authorization patterns using Sanctum, Passport, and Policies
05Secure file handling with MIME-type validation and private storage configurations
06Production hardening via secure headers, rate limiting, and secret management
ユースケース
01Hardening existing Laravel applications for production deployment and security audits
02Developing secure RESTful APIs with token-based authentication and rate limiting
03Implementing fine-grained user permissions and resource access control logic