softspring / cms-ai-plugin
Experimental AI-assisted content generation plugin for Armonic CMS
Package info
github.com/softspring/cms-ai-plugin
Type:sfs-cms-plugin
pkg:composer/softspring/cms-ai-plugin
Requires
- php: >=8.4
- doctrine/collections: ^1.8 || ^2.0
- doctrine/orm: ^2.10 || ^3.0 || ^4.0
- softspring/cms-bundle: ^6.0@dev
- softspring/form-schema: ^6.0@dev
- symfony/ai-bundle: ^0.6
- symfony/dependency-injection: ^6.4 || ^7.4 || ^8.0
- symfony/form: ^6.4 || ^7.4 || ^8.0
- symfony/framework-bundle: ^6.4 || ^7.4 || ^8.0
- symfony/http-foundation: ^6.4 || ^7.4 || ^8.0
- symfony/http-kernel: ^6.4 || ^7.4 || ^8.0
- symfony/intl: ^6.4 || ^7.4 || ^8.0
- symfony/routing: ^6.4 || ^7.4 || ^8.0
- symfony/string: ^6.4 || ^7.4 || ^8.0
- symfony/validator: ^6.4 || ^7.4 || ^8.0
- twig/twig: ^3.4
Requires (Dev)
- ergebnis/composer-normalize: ^2.50
- friendsofphp/php-cs-fixer: ^3.94
- guzzlehttp/guzzle: ^7.8.2
- guzzlehttp/promises: ^2.0
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^12.5
- rector/rector: ^2.3
- symfony/web-profiler-bundle: ^6.4 || ^7.4 || ^8.0
- symfony/yaml: ^6.4 || ^7.4 || ^8.0
This package is auto-updated.
Last update: 2026-06-05 08:20:54 UTC
README
softspring/cms-ai-plugin adds experimental AI-assisted content generation tools to Armonic CMS.
This plugin is still in active development. The UI, prompts, generated payload format, persistence flow, and integration points may change before the first stable release.
What It Provides
- An admin content lab to generate test CMS content payloads with Symfony AI.
- Schema generation for CMS content version forms through
softspring/form-schema. - Payload validation by rendering generated data back into Symfony forms.
- Optional persistence of valid generated payloads as new CMS content with an initial version.
Installation
composer require softspring/cms-ai-plugin:^6.0@dev
The plugin requires softspring/cms-bundle, softspring/form-schema, and symfony/ai-bundle.
Register the bundle if Symfony Flex does not do it automatically:
// config/bundles.php return [ Softspring\CmsAiPlugin\SfsCmsAiPlugin::class => ['all' => true], ];
Configure at least one Symfony AI platform in the host application. For example, an OpenAI platform can be configured in the application using Symfony AI configuration and environment variables.
Admin Lab
The plugin exposes an admin lab route:
/admin/{_locale}/cms-ai/content-lab
The lab lets an administrator choose a content type, layout, AI platform, and model. It then builds a schema from the CMS form, asks the model for a JSON payload, validates the payload, and can persist it as CMS content when valid.
Current Scope
This package is an experimental integration plugin. It is not part of the CMS core and should remain optional because it depends on AI platforms, credentials, model behavior, and generated content review workflows.
Contributing
See CONTRIBUTING.md.
Report issues and send Pull Requests
Security
See SECURITY.md.
License
This package is free and released under the AGPL-3.0 license.