iadil / symfony-boost
Symfony Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Symfony-specific code.
Requires
- php: ^8.2
- doctrine/dbal: ^3.8|^4.0
- doctrine/orm: ^2.17|^3.0
- guzzlehttp/guzzle: ^7.9
- symfony/console: ^7.0|^8.0
- symfony/dependency-injection: ^7.0|^8.0
- symfony/framework-bundle: ^7.0|^8.0
- symfony/http-kernel: ^7.0|^8.0
- symfony/mcp-bundle: ^0.7
- symfony/monolog-bundle: ^3.10|^4.0
- symfony/routing: ^7.0|^8.0
- symfony/twig-bundle: ^7.0|^8.0
Requires (Dev)
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.5|^11.0
- symfony/phpunit-bridge: ^7.0|^8.0
README
Symfony Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Symfony-specific code.
Built on top of symfony/mcp-bundle, this bundle provides an MCP (Model Context Protocol) server with 15 tools that give AI assistants access to your application's database schema, logs, routes, configuration, documentation, and more.
Documentation
- Installation
- Configuration
- MCP Tools
- MCP Prompts & Resources
- Browser Log Capture
- AI Agent Setup
- Guidelines & Skills
- Console Commands
Quick Start
composer require iadil/symfony-boost
Register the bundle (if Symfony Flex didn't auto-register):
// config/bundles.php return [ // ... IAdil\SymfonyBoostBundle\SymfonyBoostBundle::class => ['all' => true], ];
Create config/packages/mcp.yaml:
mcp: app: 'my-app' version: '1.0.0' client_transports: stdio: true discovery: scan_dirs: - src - vendor/iadil/symfony-boost/src
Install guidelines and skills for your AI agent:
bin/console boost:install
Start the MCP server:
bin/console mcp:server
Features
15 MCP Tools
| Tool | Description |
|---|---|
application-info |
PHP/Symfony version, installed packages, Doctrine entities |
browser-logs |
Read browser console logs captured from the frontend |
database-connections |
List configured Doctrine DBAL connections |
database-query |
Execute read-only SQL queries against the database |
database-schema |
Full database schema introspection |
get-absolute-url |
Generate absolute URLs from routes or paths |
get-config-value |
Read Symfony parameters by key |
last-error |
Get the last error from application logs |
list-bundles |
List all registered Symfony bundles |
list-env-vars |
List application environment variables |
list-routes |
List all registered routes with controllers |
read-log-entries |
Read the last N log entries |
run-console |
Execute read-only Symfony console commands |
search-docs |
Search Symfony ecosystem documentation |
table-row-count |
Row counts for all database tables |
4 MCP Prompts
| Prompt | Description |
|---|---|
symfony-code-simplifier |
Simplify and refine PHP/Symfony code |
upgrade-symfony-8 |
Step-by-step Symfony 8 upgrade guide |
upgrade-twig |
Twig template upgrade guide |
upgrade-doctrine |
Doctrine ORM/DBAL upgrade guide |
10 Built-in Skills
| Skill | Description |
|---|---|
create-entity |
Doctrine entity with relationships and lifecycle callbacks |
create-crud |
Complete CRUD: controller, service, form, templates |
create-api-endpoint |
REST API with validation and serialization |
create-command |
Console command with progress, locking, signals |
create-event-system |
Events, listeners, and async Messenger processing |
create-voter |
Security voter for authorization |
create-form |
Complex forms with transformers and events |
create-test |
Unit, integration, and functional tests |
debug-performance |
Performance profiling and optimization |
database-migration |
Safe Doctrine migration patterns |
Supported AI Agents
Claude Code, Cursor, GitHub Copilot, Gemini, Junie, Codex, Amp, OpenCode
License
MIT