massmedias/contentfinderbundle

Symfony2 全文检索器

安装: 14

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

公开问题: 0

类型:symfony-bundle

1.0.0 2016-03-04 09:57 UTC

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(),
        );

        // ...
    }

    // ...
}