massmedias / contentfinderbundle
Symfony2 全文检索器
1.0.0
2016-03-04 09:57 UTC
Requires
- php: >=5.6
- symfony/symfony: >=2.8
This package is not auto-updated.
Last update: 2024-09-20 18:12:26 UTC
README
步骤 1: 下载 Bundle
打开命令行,进入您的项目目录,并执行以下命令以下载此 Bundle 的最新稳定版本
$ composer require linux0uid/ContentFinderBundle "~1"
此命令要求您全局安装了 Composer,具体请参阅 Composer 文档中的安装章节。
步骤 2: 启用 Bundle
然后,将 Bundle 添加到项目 app/AppKernel.php
文件中注册的 Bundle 列表,以启用该 Bundle。
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new linux0uid\ContentFinderBundle\linux0uidContentFinderBundle(), ); // ... } // ... }