Laravel Security
Laravel security best practices — authentication, authorization, Eloquent safety, CSRF, XSS prevention, API security, and secure deployment configurations.
- Type
- Skill
- Author
- affaan-m
- Category
- Security
- GitHub stars
- 290.0K
- Installs
- 5.5K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/affaan-m/ecc --skill laravel-securityUse cases
- Review a Laravel controller for missing authorization checks before merging.
- Harden an API endpoint against CSRF and XSS issues.
- Check deployment configuration for insecure defaults before shipping.
Frequently Asked Questions
Does this skill cover general PHP security or only Laravel?
It is framework-specific to Laravel, covering authentication, authorization, Eloquent safety, CSRF, XSS prevention, API security, and deployment configuration.
When should I run it — during development or before deployment?
It fits both building and reviewing a Laravel application, including checking secure deployment configuration before shipping.
What areas of a Laravel app does it check?
Authentication, authorization, Eloquent usage, CSRF, XSS prevention, API security, and deployment settings.
About this skill
Covers Laravel security practices: authentication, authorization, Eloquent safety, CSRF, XSS prevention, API security, and secure deployment configuration. Useful when building or reviewing a Laravel application and wanting to check it against common pitfalls. It's framework-specific rather than general PHP security.
Summary written with AI assistance from the project's public description.
Categories
More from affaan-m
Video Editing
AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg...
by affaan-m
Docker Patterns
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
by affaan-m
Security Review
Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive fea...
by affaan-m
Backend Patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
by affaan-m
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh