PHPackages                             shopsys/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. [Search &amp; Filtering](/categories/search)
4. /
5. shopsys/postgres-search-bundle

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

shopsys/postgres-search-bundle
==============================

Tools to use full-text search PostgreSQL in Doctrine.

0.4(3y ago)0224.6k↓13.2%1MITPHPPHP &gt;=8.1

Since Sep 19Pushed 2y ago4 watchersCompare

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

READMEChangelogDependencies (2)Versions (6)Used By (0)

**Attention Users and Contributors:**

This project is no longer actively maintained and developed.

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": {
        "shopsys/postgres-search-bundle": "0.1"
    }
}
```

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

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

### Step 2: Enable the bundle

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

Enable the bundle in the kernel:

```
