PHPackages                             intaro/hstore-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. intaro/hstore-bundle

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

intaro/hstore-bundle
====================

The HStoreBundle contains DBAL type hstore and registers Doctrine type hstore

v0.0.4(11y ago)57.2k7[2 PRs](https://github.com/intaro/hstore-bundle/pulls)MITPHPPHP &gt;=5.4.4

Since Aug 12Pushed 6y ago5 watchersCompare

[ Source](https://github.com/intaro/hstore-bundle)[ Packagist](https://packagist.org/packages/intaro/hstore-bundle)[ RSS](/packages/intaro-hstore-bundle/feed)WikiDiscussions master Synced yesterday

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

HStoreBundle
============

[](#hstorebundle)

PostgreSQL module `hstore` allows to store sets of key/value pairs within a single PostgreSQL value. More about it [here](http://www.postgresql.org/docs/current/static/hstore.html).

The HStoreBundle contains DBAL type `hstore` and registers Doctrine type `hstore`.

Installation
------------

[](#installation)

HStoreBundle requires Symfony 2.3 or higher.

Require the bundle in your `composer.json` file:

```
{
    "require": {
        "intaro/hstore-bundle": "~0.0.2",
    }
}
```

Register the bundle in `AppKernel`:

```php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        //...

        new Intaro\HStoreBundle\IntaroHStoreBundle(),
    );

    //...
}
```

Install the bundle:

```
$ composer update intaro/hstore-bundle
```

### Installing the PHP extension

The package contains two versions of the `HStoreParser` as PHP extension. PHP extension is optional but as it brings some nice performance improvements, you might want to install it in your production environment.

#### PHP extension (PHP-CPP)

The first extension is written in [PHP-CPP](http://www.php-cpp.com) thats why you should [install PHP-CPP](http://www.php-cpp.com/documentation/install) before extension compiling.

The extension compiling:
```bash
cd path/to/Intaro/HStoreBundle/Resources/phpcpp
make
sudo make install
```
Finally, enable the extension in your `php.ini` configuration file:

```ini
extension = hstorecpp.so # For Unix systems
```

#### PHP extension (Zephir)

The second extension is written in [Zephir](http://zephir-lang.com) thats why you should [install Zephir](http://zephir-lang.com/install.html) before extension compiling.

```bash
cd path/to/Intaro/HStoreBundle/Resources/zephir
zephir install
```

Finally, enable the extension in your `php.ini` configuration file:

```ini
extension = hstore.so # For Unix systems
```
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65% 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

Every ~45 days

Total

3

Last Release

4254d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d384046cee70e3b28ba79669db1a244f4ff8e87aacb2094180170cba52333e95?d=identicon)[muxx](/maintainers/muxx)

---

Top Contributors

[![muxx](https://avatars.githubusercontent.com/u/461614?v=4)](https://github.com/muxx "muxx (13 commits)")[![1on](https://avatars.githubusercontent.com/u/2292168?v=4)](https://github.com/1on "1on (7 commits)")

---

Tags

postgresqlSymfony2hstore

### Embed Badge

![Health badge](/badges/intaro-hstore-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/intaro-hstore-bundle/health.svg)](https://phpackages.com/packages/intaro-hstore-bundle)
```

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4585.8M4](/packages/martin-georgiev-postgresql-for-doctrine)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

9410.8k](/packages/ahmed-bhs-doctrine-doctor)[intaro/hstore-extension

The HStore Extension contains DBAL type hstore and registers Doctrine type hstore

16922.7k](/packages/intaro-hstore-extension)[heymoon/doctrine-psql-enum

Store PHP native enums as PostgeSQL custom enum types

257.8k](/packages/heymoon-doctrine-psql-enum)

PHPackages © 2026

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