Skip to content

Guiziweb/GuiziwebSyliusGridAssistantPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

AI-powered grid filtering for Sylius

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors