eekes / sulu-ai-content-bundle
An AI writing assistant for Sulu 3: create and rework pages from your own blocks, with brand context per webspace, any model through Symfony AI and a full usage log
Package info
github.com/eekes/sulu-ai-content-bundle
Type:symfony-bundle
pkg:composer/eekes/sulu-ai-content-bundle
Requires
- php: ^8.3
- doctrine/doctrine-bundle: ^2.13
- doctrine/orm: ^2.17 || ^3.3
- psr/log: ^3.0
- sulu/sulu: ^3.0.9
- symfony/ai-agent: ^1.0@beta
- symfony/ai-platform: ^1.0@beta
- symfony/clock: ^7.4
- symfony/config: ^7.4
- symfony/console: ^7.4
- symfony/dependency-injection: ^7.4
- symfony/doctrine-bridge: ^7.4
- symfony/framework-bundle: ^7.4
- symfony/http-foundation: ^7.4
- symfony/http-kernel: ^7.4
- symfony/messenger: ^7.4
- symfony/routing: ^7.4
- symfony/translation-contracts: ^3.5
- symfony/uid: ^7.4
- symfony/yaml: ^7.4
Requires (Dev)
- cmsig/seal-memory-adapter: ^0.12
- php-cs-fixer/shim: ^3.58
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-doctrine: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: ^11.5
- symfony/browser-kit: ^7.4
- symfony/dotenv: ^7.4
- symfony/error-handler: ^7.4.17
- symfony/monolog-bundle: ^3.10 || ^4.0
- symfony/phpunit-bridge: ^7.4
Suggests
- symfony/ai-anthropic-platform: For Claude models
- symfony/ai-bundle: To configure the AI platform and its API key in config/packages/ai.yaml
- symfony/ai-open-ai-platform: For OpenAI models
Provides
None
Conflicts
Replaces
None
This package is auto-updated.
Last update: 2026-11-19 21:34:12 UTC
README
An AI writing assistant for Sulu 3. Editors write new pages and rework existing ones from your own templates and blocks, in the voice you describe per webspace, with any model through Symfony AI. Nothing is saved behind their back: the assistant fills the form, the preview shows the result, and every question is logged with its tokens and cost.
What's inside
- An assistant next to every form: write a page, rework it, rewrite one block, SEO and excerpt, translate - with questions first, an outline to approve and undo for every change. It reuses and proposes snippets and sets the filters of smart content lists with real categories, tags and pages.
- Several pages at once: plan a new section or a series of articles with the assistant, then have every page written and created as an unpublished draft.
- Your blocks, described once: a command describes every template and block in a YAML file you fine-tune, with fields the assistant must leave alone.
- AI context per webspace: what the website is, the audience, tone of voice, words to use and avoid, a glossary and example pages, per locale.
- A full usage log: who asked what, which model, input, output and cached tokens, estimated cost, duration and tool calls - plus a monthly budget.
- Any model: Anthropic, OpenAI, Mistral, Gemini, Ollama and every other Symfony AI platform; the API key stays in your environment.
- Extending: field schemas for your own content types, tools of your own, replaceable services.
How one turn works: how it works.
Documentation
Installation, configuration and everything else: sulu.eekes.be/sulu-ai-content-bundle.
License
MIT
