{"enrichment":{"faq":[{"a":"PHP Rules enforces coding standards covering style, frameworks, patterns, security, and testing. It guides PSR-12 compliance, modern PHP 8.1+ syntax, Laravel and Symfony conventions, Eloquent and Doctrine patterns, and error handling best practices.","q":"What PHP coding standards and best practices does php-rules cover?"},{"a":"PHP Rules implements secure PHP code practices preventing SQL injection and XSS vulnerabilities. It covers parameterized queries, input validation, output escaping, CSRF protection in Blade templates, and secure file upload handling to protect against common web vulnerabilities.","q":"How does php-rules help prevent SQL injection and XSS attacks?"},{"a":"PHP Rules includes comprehensive guidance for writing and reviewing Laravel and Symfony framework code. It covers Laravel Eloquent ORM patterns, API Resources, authentication with Sanctum and Passport, queue workers with Horizon, Form Requests validation, and Symfony dependency injection autowiring and Forms validation.","q":"Does php-rules support Laravel and Symfony framework code?"},{"a":"PHP Rules guides creation of comprehensive PHP unit and integration tests using PHPUnit and Pest testing frameworks. It emphasizes test structure, assertions, mocking, and integration testing patterns to ensure robust code quality and reliability.","q":"What testing frameworks and practices does php-rules recommend?"},{"a":"PHP Rules supports refactoring PHP code using modern language features and patterns including PHP 8.1+ union types, enums, static analysis with PHPStan, repository patterns, and eager loading optimization to prevent N+1 query problems in Eloquent.","q":"How does php-rules address modern PHP features and refactoring?"}],"shadow_tags":["code-quality","framework-agnostic","orm-patterns","api-development","queue-systems","auth-security","testing-practices","static-analysis","database-design","web-vulnerabilities"],"summary_rewrite":"PHP Rules enforces coding standards covering style, frameworks, patterns, security, and testing. It guides PSR-12 compliance, modern PHP 8.1+ syntax, Laravel and Symfony conventions, Eloquent and Doctrine patterns, and error handling best practices."},"files":[{"bytes":15402,"path":"app/skills/php-rules/SKILL.md","sha256":"9458e9d79b4fe164bfbf890ebf5fff3ae61b39df3dfaaf5bcc648deec5c29167","url":"https://skillfed.io/files/softspark/ai-toolkit/php-rules/e60a64de/SKILL.md"}],"id":"softspark/ai-toolkit/php-rules","links":{"html":"https://skillfed.io/softspark/ai-toolkit/php-rules","md":"https://skillfed.io/softspark/ai-toolkit/php-rules.md","repo":"https://github.com/softspark/ai-toolkit"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":21,"language":"Python","last_updated":"2026-07-27","license":"Apache-2.0","name":"php-rules","publisher":"softspark","stars":161},"relations":{"similar":[{"id":"Jeffallan/claude-skills/php-pro"},{"id":"Jeffallan/claude-skills/laravel-specialist"},{"id":"personamanagmentlayer/pcl/php-expert"},{"id":"notque/vexjoy-agent/php"},{"id":"miles990/claude-software-skills/php"},{"id":"irahardianto/awesome-agv/php-idioms"},{"id":"JustSteveKing/laravel-api-skill/laravel-api"},{"id":"noartem/skills/laravel-api"},{"id":"Pixel-Process-UG/superkit-agents/php-specialist"},{"id":"xobotyi/cc-foundry/pest"}]},"slug":{"owner":"softspark","repo":"ai-toolkit","skill":"php-rules"},"version":"e60a64de"}
