PHPackages                             ddmaster/postgre-search-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. ddmaster/postgre-search-bundle

ActiveSymfony-bundle[Search &amp; Filtering](/categories/search)

ddmaster/postgre-search-bundle
==============================

Tools to use full-text search PostgreSQL in Doctrine.

v1.0(6y ago)1289.9k↓37.5%34MITPHPPHP &gt;=5.3.3

Since Aug 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ddmaster/PostgreSearchBundle)[ Packagist](https://packagist.org/packages/ddmaster/postgre-search-bundle)[ Docs](https://github.com/ddmaster/PostgreSearchBundle)[ RSS](/packages/ddmaster-postgre-search-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

PostgreSearchBundle
===================

[](#postgresearchbundle)

Symfony2 bundle with tools [full-text search PostgreSQL](http://www.postgresql.org/docs/9.1/static/textsearch.html) in Doctrine 2.

Added type 'tsvector' to be used in the mapping.

Added functions 'to\_tsquery' and 'ts\_rank' to be used in the DQL.

### Step 1: Download PostgreSearchBundle using composer

[](#step-1-download-postgresearchbundle-using-composer)

Add PostgreSearchBundle in your composer.json:

```
{
    "require": {
        "ddmaster/postgre-search-bundle": "dev-master"
    }
}
```

Now tell composer to download the bundle by running the command:

```
$ php composer.phar update ddmaster/postgre-search-bundle
```

Composer will install the bundle to your project's `vendor/ddmaster/postgre-search-bundle` directory.

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Enable the bundle in the kernel:

```
