Search by

masilia / ibexa-ai-editor

masilia

AI help inside the Ibexa content editing form: suggestions for each field and image generation

Package info

github.com/MasiliaLabs/ibexa-ai-editor

Type:ibexa-bundle

pkg:composer/masilia/ibexa-ai-editor

Statistics

Installs: 12

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

0.2.5 2026-11-19 23:50 UTC

This package is auto-updated.

Last update: 2026-11-19 23:52:48 UTC


README

CI Latest version Downloads PHP License: MIT

AI help inside the Ibexa content editing form: a suggestion for each field, and image generation.

masilia/ibexa-ai-editor is part of a family of packages for Ibexa that work together or alone. See the other packages.

What it is

AI help inside the Ibexa content editing form: next to each field an editor can ask for a suggestion, and for image fields generate a picture from a short brief. It uses the providers and the rules of masilia/ibexa-ai — it talks to it only through its contracts.

Features

  • A suggestion for each field: pick one of the actions (the server applies its own instruction and its faithfulness rules) or write your own prompt. The text streams into a modal and rich text is sanitised before it reaches the editor.
  • Image generation for image fields: the model gets a brief built from the content (what the item is about), not from a list of form fields.
  • Admin-native: controllers use Ibexa's access checks and the admin's CSRF token, routes belong to the admin siteaccess group.
  • Same providers as the assistant: whatever provider answers for the siteaccess in masilia/ibexa-ai is used here.

Requirements

  • PHP 8.3 or later
  • Ibexa 5.0 (Symfony 7.4)

Installed with it by Composer:

Installation

composer require masilia/ibexa-ai-editor
  1. Enable the bundles in config/bundles.php (masilia/ibexa-ai must be set up first, see its README):

    Masilia\Bundle\IbexaAiEditor\MasiliaIbexaAiEditorBundle::class => ['all' => true],
  2. Import the routes (config/routes/masilia_ibexa_ai_editor.yaml):

    masilia_ibexa_ai_editor:
        resource: '@MasiliaIbexaAiEditorBundle/Resources/config/routes.yaml'
  3. Build the admin assets:

    yarn ibexa-generate-tsconfig
    php bin/console ibexa:encore:compile

    Inside DDEV, prefix each command with ddev exec. The admin build is ibexa:encore:compile: yarn encore dev --config-name ibexa does not work ("Configuration with the name ibexa was not found"), and a plain yarn encore dev does not build the admin on a project that has not merged the Ibexa configuration into its webpack.config.js.

With Symfony Flex

The Masilia recipes do the first steps for you. Add their endpoint once to the composer.json of your project, after the one of Ibexa:

"extra": {
    "symfony": {
        "endpoint": [
            "https://api.github.com/repos/ibexa/recipes/contents/index.json?ref=flex/main",
            "https://api.github.com/repos/MasiliaLabs/recipes/contents/index.json?ref=flex/main",
            "flex://defaults"
        ]
    }
}

Then composer require masilia/ibexa-ai-editor enables the bundle and writes config/routes/masilia_ibexa_ai_editor.yaml. What is left is yours: the admin build (masilia/ibexa-ai must be set up first). The manual steps above and below stay valid.

Usage

Edit a content in the admin. Open the AI help of a field, pick an action or write a prompt, read the suggestion as it streams, and accept it into the field. Image generation needs a provider that supports images (set its image model in AI Assistant).

Tests

composer install
vendor/bin/phpunit
vendor/bin/phpstan analyse --memory-limit=2G --no-progress

The tests of the admin scripts run with Node (see CONTRIBUTING.md).

AI agent skill

This package ships a skill for AI coding agents (Claude Code and other agents that read SKILL.md skills): how to install, configure, operate and troubleshoot masilia/ibexa-ai-editor. It lives in skills/masilia-ibexa-ai-editor and comes with the package.

# For the project (committed with it): from the installed package
mkdir -p .claude/skills && cp -r vendor/masilia/ibexa-ai-editor/skills/masilia-ibexa-ai-editor .claude/skills/

# For all your projects: global
mkdir -p ~/.claude/skills && cp -r vendor/masilia/ibexa-ai-editor/skills/masilia-ibexa-ai-editor ~/.claude/skills/

Restart the agent (or reload its skills) to pick it up. Update the copy after composer update.

The Masilia packages

Package What it does
masilia/ibexa-admin-kit React components in the design of the Ibexa admin, for admin pages
masilia/ibexa-sites A registry of sites that Ibexa serves without a deploy
masilia/ibexa-ai The AI assistant for Ibexa: capabilities, providers, chat, approval flow
masilia/ibexa-ai-craft The assistant builds sites and pages out of blocks
masilia/ibexa-ai-editor AI suggestions and image generation in the content editing form
masilia/ibexa-blocks Front-office rendering of pages made of blocks, with themes
masilia/editorial-toolbox In-context editing toolbar for the front office

What requires what (Composer installs it for you):

  • ibexa-sites requires ibexa-admin-kit
  • ibexa-ai requires ibexa-admin-kit
  • ibexa-ai-editor requires ibexa-ai
  • ibexa-ai-craft requires ibexa-ai, ibexa-blocks and ibexa-sites
  • ibexa-blocks and editorial-toolbox require none of the others; they are happy to find ibexa-sites (and each other) when installed.

Compatibility

Package version PHP Ibexa
latest 8.3+ 5.0

Download

  • Composer (recommended): composer require masilia/ibexa-ai-editor — ibexa-ai-editor on Packagist
  • Archive of a release: GitHub releases (each release lists what changed)
  • Source: git clone https://github.com/MasiliaLabs/ibexa-ai-editor.git
  • What changed between versions: CHANGELOG.md

Support, contributing and security

License

Released under the MIT license. Copyright © 2026 MasiliaLabs.

Ibexa itself is distributed under its own licenses (Ibexa OSS: GPL-2.0), which apply to the project that uses this package. This package is an independent project, not affiliated with or endorsed by Ibexa AS; "Ibexa" is a trademark of its owner.