guiziweb/sylius-grid-assistant-plugin

AI-powered grid filtering for Sylius. Natural language to grid filters.

Maintainers

Package info

github.com/Guiziweb/GuiziwebSyliusGridAssistantPlugin

Type:sylius-plugin

pkg:composer/guiziweb/sylius-grid-assistant-plugin

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 2

v0.3.0 2026-05-14 09:30 UTC

README

Sylius Logo.

Sylius Grid Assistant Plugin

Build status Latest version PHP version PHPUnit Behat PHPStan max ECS License

Natural language → filtered grid. AI-powered filtering for Sylius admin grids.

How it works

In an admin grid (orders, products, customers...), the assistant adds a search bar at the top. Type your query in plain language:

"orders over $100 from john.doe@gmail.com last month"

The plugin sends the query to a Large Language Model (OpenAI, Gemini, Anthropic, Mistral...), gets back structured filters and sorting (JSON Schema strict), and redirects to the same grid with the filters applied - exactly as if you had clicked them manually.

Demo

Requirements

  • PHP ^8.2
  • Sylius ^2.1
  • An AI provider account (OpenAI, Gemini, Anthropic, Mistral...) and its API key

Quick install

This plugin ships a Symfony Flex recipe. With the Guiziweb recipe endpoint configured in your project (see linked repo), the install boils down to:

composer require guiziweb/sylius-grid-assistant-plugin
composer require symfony/ai-bundle symfony/ai-open-ai-platform  # or another bridge

Then fill in your API key in .env.local and enable the grids you want. The Flex recipes (plugin + bridge) take care of the rest (bundle registration, config files, env var stub).

Full step-by-step guide (with and without Flex): installation.

Documentation

License

MIT - see LICENSE.