adamwojs / ezplatform-omnibox
v0.4.0
2022-03-08 21:23 UTC
Requires
- php: ^7.4 || ^8.0
- ext-json: *
- ibexa/admin-ui: ^v4.0
- ibexa/core: ^v4.0
- symfony/string: ^5.4
Requires (Dev)
- ibexa/code-style: ^v1.0
- phpunit/phpunit: ^9.0
This package is not auto-updated.
Last update: 2024-09-19 08:12:11 UTC
README
Ibexa DXP (eZ Platform) 后端的全局搜索。
安装
使用 Symfony Flex 的应用程序
打开命令控制台,进入您的项目目录并执行
$ composer require adamwojs/ezplatform-omnibox
不使用 Symfony Flex 的应用程序
步骤 1: 下载 Bundle
打开命令控制台,进入您的项目目录并执行以下命令以下载此 Bundle 的最新稳定版本
$ composer require adamwojs/ezplatform-omnibox
此命令要求您全局安装 Composer,如 Composer 文档中的安装章节所述。
步骤 2: 启用 Bundle
然后,通过将其添加到项目 config/bundles.php
文件中注册的 Bundle 列表来启用 Bundle
// config/bundles.php return [ // ... AdamWojs\EzPlatformOmnibox\EzPlatformOmniboxBundle::class => ['all' => true], ];
步骤 3: 导入路由
在 /config/routes/
目录中创建 ezplatform_omnibox.yaml
并导入 @EzPlatformOmniboxBundle/Resources/config/routing.yaml
ezplatform_omnibox: resource: '@EzPlatformOmniboxBundle/Resources/config/routing.yaml' defaults: siteaccess_group_whitelist: '%admin_group_name%'