guiziweb/sylius-grid-assistant-plugin
最新稳定版本:v0.3.0
Composer 安装命令:
composer require guiziweb/sylius-grid-assistant-plugin
包简介
AI-powered grid filtering for Sylius. Natural language to grid filters.
README 文档
README
Sylius Grid Assistant Plugin
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.
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
- Installation - full setup steps
- Usage - admin guide with query examples
- Extending - add custom filter types
License
MIT - see LICENSE.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-17
