Agent skill

Symfony

Language: PHP

Stars 10
Forks 1

Install this agent skill to your Project

npx add-skill https://github.com/hivellm/rulebook/tree/main/templates/skills/frameworks/symfony

SKILL.md

Symfony Framework Rules

Language: PHP
Version: Symfony 6.0+ or 7.0+

Setup

yaml
# config/packages/framework.yaml
framework:
    secret: '%env(APP_SECRET)%'
    csrf_protection: true

Quality Gates

bash
php bin/console lint:twig templates/
php bin/console lint:yaml config/
vendor/bin/phpstan analyze src tests
vendor/bin/phpunit

Best Practices

✅ Use dependency injection
✅ Follow PSR standards
✅ Use Doctrine ORM
✅ Implement security voters

❌ Don't bypass security
❌ Don't hardcode routes

Didn't find tool you were looking for?

Be as detailed as possible for better results