softspring/cms-ai-plugin

Experimental AI-assisted content generation plugin for Armonic CMS

Maintainers

Package info

github.com/softspring/cms-ai-plugin

Type:sfs-cms-plugin

pkg:composer/softspring/cms-ai-plugin

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

6.0.x-dev 2026-06-05 08:17 UTC

This package is auto-updated.

Last update: 2026-06-05 08:20:54 UTC


README

Latest Stable Latest Unstable License PHP Version Downloads CI Coverage

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.