- What is symfony/ai-mate-composer-plugin?
- It is a Composer plugin that automatically discovers AI Mate extensions when Composer installs or updates dependencies. Instead of manually registering each extension, the plugin hooks into Composer's install/update workflow and detects compatible packages. Check the repository README for the exact discovery rules and supported metadata.
- How do I install symfony/ai-mate-composer-plugin in a Laravel project?
- Require it with Composer, for example composer require symfony/ai-mate-composer-plugin, and allow the plugin if Composer prompts you. Then run composer install or composer update so the discovery process can run. Consult the README for the recommended dependency type and any required Composer configuration.
- Does this package work with Laravel 10, 11, and 12?
- This is a Composer plugin rather than a Laravel package, so Laravel framework version constraints are mostly irrelevant to the plugin itself. It runs inside the Composer process wherever Composer is available. Any AI Mate extensions it discovers may still have their own PHP, Laravel, or package requirements that you should verify.
- How does automatic discovery of AI Mate extensions work?
- The plugin participates in Composer install and update events and scans installed packages for AI Mate extension information. Discovered extensions are then made available to AI Mate without a manual list. The exact metadata keys and discovery behavior are defined by AI Mate and documented in the plugin README.
- Do I need to configure anything after installing the plugin?
- In most cases discovery is intended to be automatic, so no package-specific configuration is required. You may need to allow the Composer plugin in your project's allow-plugins settings. Review the README for optional configuration or environment-specific behavior.
- Is it safe to use this Composer plugin in production and CI?
- Composer plugins execute code during install and update, so treat them like any other build dependency. Pin versions with composer.lock, review plugin permissions, and use Composer's allow-plugins configuration. In CI, run composer install with trusted plugins enabled; using --no-plugins disables discovery as well.
- How can I test that AI Mate extensions are being discovered?
- Create a small test project, require the plugin and a known AI Mate extension, then run composer install or composer update. Inspect AI Mate's extension list or any plugin output to confirm discovery. If results look stale, clear AI Mate caches and run composer diagnose.
- What are alternatives to using symfony/ai-mate-composer-plugin?
- You can manually register AI Mate extensions in configuration or application bootstrap code. You could also write a custom Composer script or event handler that performs discovery. The plugin's main value is automating that discovery during normal Composer operations.
- Does this plugin support Composer 1 or only Composer 2?
- Modern Composer plugins typically target Composer 2 and declare a composer-plugin-api constraint. Check the package's composer.json for the exact Composer plugin API requirement before installing. Composer 1 is end-of-life and is not recommended for current Laravel projects.
- How is symfony/ai-mate-composer-plugin maintained and where do I report issues?
- The package is hosted under the symfony GitHub organization, so review its releases, commit activity, and issue tracker before adopting it. Report bugs through the GitHub repository with your Composer, PHP, and Laravel versions. Check open issues for known discovery or compatibility problems.