PHPackages                             ciricihq/match-against-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. [Database &amp; ORM](/categories/database)
4. /
5. ciricihq/match-against-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

ciricihq/match-against-bundle
=============================

 A search bundle for symfony, using MySQL FULLTEXT MATCH AGAINST

v1.0.0(10y ago)83.1k1[1 issues](https://github.com/ciricihq/MatchAgainstBundle/issues)GPL-2.0PHPPHP &gt;=5.6

Since Apr 11Pushed 10y ago5 watchersCompare

[ Source](https://github.com/ciricihq/MatchAgainstBundle)[ Packagist](https://packagist.org/packages/ciricihq/match-against-bundle)[ RSS](/packages/ciricihq-match-against-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

MatchAgainstBundle
==================

[](#matchagainstbundle)

Based on

Installing
----------

[](#installing)

```
composer require ciricihq/match-against-bundle
```

Usage
-----

[](#usage)

You must load the bundle provided config.yml in order to have the `MATCH_AGAINST` MySQL sentence

```
imports:
    - { resource: ../../src/Cirici/MatchAgainstBundle/Resources/config/config.yml }
```

Make a query:

```
  $qbuilder
      ->select('sti.foreignId')
      ->from('Cirici\MatchAgainstBundle\Entity\SearchTextIndex', 'sti')
      ->where('sti.model = :entityClass')
      ->andWhere('sti.field = :fieldName')
      // ->andWhere("MATCH_AGAINST(sti.content, :text 'IN NATURAL LANGUAGE MODE') > :score")
      ->andWhere("MATCH_AGAINST(sti.content, :text 'IN BOOLEAN MODE') > :score")
      ->setParameter('entityClass', $entity_class)
      ->setParameter('fieldName', $field_name)
      ->setParameter('text', $text)
      ->setParameter('score', $score)
  ;
```

License
-------

[](#license)

Licensed under the GNU GPL 2.0 license. Check out the `LICENSE` file for more details.

Copyright 2015 © [Cirici New Media](http://cirici.com)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3736d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4225298?v=4)[Genar Trias Ortiz](/maintainers/gtrias)[@gtrias](https://github.com/gtrias)

![](https://avatars.githubusercontent.com/u/153305?v=4)[Òscar Casajuana](/maintainers/elboletaire)[@elboletaire](https://github.com/elboletaire)

---

Top Contributors

[![elboletaire](https://avatars.githubusercontent.com/u/153305?v=4)](https://github.com/elboletaire "elboletaire (3 commits)")

---

Tags

doctrinefull-textfull-text-searchmysqlsymfonysymfonymysqlSymfony2full-textmatch-against

### Embed Badge

![Health badge](/badges/ciricihq-match-against-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ciricihq-match-against-bundle/health.svg)](https://phpackages.com/packages/ciricihq-match-against-bundle)
```

###  Alternatives

[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4747.0M12](/packages/fresh-doctrine-enum-bundle)[webonaute/doctrine-fixtures-generator-bundle

Generate Fixture from your existing data in your database. You can specify the Entity name and the IDs you want to import in your fixture.

64184.5k](/packages/webonaute-doctrine-fixtures-generator-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
