PHPackages                             spine/postgres-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. spine/postgres-search-bundle

ActiveSymfony-bundle

spine/postgres-search-bundle
============================

Tools to use full-text search PostgreSQL in Doctrine.

0.1.1(9y ago)06.4k1MITPHPPHP &gt;=5.3.3

Since Jun 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/gkovrey/PostgresSearchBundle)[ Packagist](https://packagist.org/packages/spine/postgres-search-bundle)[ Docs](https://github.com/gkovrey/PostgresSearchBundle)[ RSS](/packages/spine-postgres-search-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)DependenciesVersions (3)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', 'plainto\_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": {
        "alsatian/postgres-search-bundle": "dev-master"
    }
}
```

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

```
$ php composer.phar update alsatian/postgres-search-bundle
```

### Step 2: Enable the bundle

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

Enable the bundle in the kernel:

```
