Download the PHP package ai-context/symfony-ai-context-bundle without Composer
On this page you can find all versions of the php package ai-context/symfony-ai-context-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ai-context/symfony-ai-context-bundle
More information about ai-context/symfony-ai-context-bundle
Files in ai-context/symfony-ai-context-bundle
Package symfony-ai-context-bundle
Short Description Symfony bundle to generate AI-readable project context.
License MIT
Informations about the package symfony-ai-context-bundle
Symfony AI Context Bundle
🔍 Automatically generate a structured, AI-readable JSON context from your Symfony application — including entities, services, controllers, routes and repositories.
Table of Contents
- Installation
- Configuration
- Usage
- Output example
- Example prompts
- Contributing
- License
- Credits
Installation
Make sure the bundle is enabled (Symfony Flex should do this automatically):
Configuration
Configure the bundle in config/packages/ai_context.yaml
you can edit the default values:
Usage
Generate the AI context:
The command outputs a structured JSON file (by default in var/ai_context/ai-context.json) including:
🧩 Entities: class names, fields, types, relations
🛠️ Services: method signatures and parameters
🎮 Controllers: public actions and @IsGranted annotations
🚦 Routes: method/path/controller mapping
📚 Repositories: custom public methods
Ouput example
Perfect to feed into LLMs like GPT for project understanding.
Then you can use the AI context in your preferred LLMs or AI tools to enhance your Symfony development experience.
Example prompts
Whatever you need, the AI context is here to help you!
Contributing
PRs welcome! To contribute:
- Fork the repository
- Create a branch
- Write tests or improve extractors
- Submit a pull request
License
Released under the MIT License
Credits
Developed with ❤️ by Guillaume Valadas Part of the AI Context Lab
All versions of symfony-ai-context-bundle with dependencies
symfony/framework-bundle Version ^6.0 || ^7.0
symfony/finder Version ^6.0 || ^7.0