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: 2

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

0.2.2 2026-11-17 23:22 UTC

This package is auto-updated.

Last update: 2026-11-18 00:24:18 UTC


README

CI Latest version 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 && yarn encore dev   # or: yarn encore production

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).

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.