PHPackages                             czogori/propel-postgres-hstore-behavior - 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. czogori/propel-postgres-hstore-behavior

ActiveLibrary[Database &amp; ORM](/categories/database)

czogori/propel-postgres-hstore-behavior
=======================================

Storage of key-value items using Postgres hstore.

v0.9.1(12y ago)12.5kMITPHP

Since Jan 18Pushed 10y agoCompare

[ Source](https://github.com/czogori/PostgresHstoreBehavior)[ Packagist](https://packagist.org/packages/czogori/propel-postgres-hstore-behavior)[ Docs](https://github.com/czogori/PostgresHstoreBehavior)[ RSS](/packages/czogori-propel-postgres-hstore-behavior/feed)WikiDiscussions master Synced 3w ago

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

PostgresHstoreBehavior
======================

[](#postgreshstorebehavior)

[![Build Status](https://camo.githubusercontent.com/ebd678ea9b3fdf388d311827f04f71d4dc51cd6b449cb488f85b600e7c5c5251/68747470733a2f2f7472617669732d63692e6f72672f637a6f676f72692f506f7374677265734873746f72654265686176696f722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/czogori/PostgresHstoreBehavior)[![Latest Stable Version](https://camo.githubusercontent.com/7f70d8090b0e62e66bd7d6f32f856cd846a57b0948c0d75b63272952b6d1bdea/68747470733a2f2f706f7365722e707567782e6f72672f637a6f676f72692f70726f70656c2d706f7374677265732d6873746f72652d6265686176696f722f762f737461626c652e706e67)](https://packagist.org/packages/czogori/propel-postgres-hstore-behavior)

Storage of key-value items using Postgres hstore.

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

[](#installation)

First of all you have to install postgresql-contrib and create hstore extension.

```
CREATE EXTENSION hstore;
```

After that download code using composer:

```
{
    "require": {
        "czogori/propel-postgres-hstore-behavior": "dev-master"
    }
}
```

And put undermentioned entry to your `propel.ini` or `build.properties` configuration file:

```
propel.behavior.hstore.class = path.to.PostgresHstoreBehavior
```

Usage
-----

[](#usage)

Table definition - `schema.xml` file:

```

```

Now you can use hstore behavior.

```
$book = new Book();
$book->setTitle('Foo and Bar');
// you can set params as array
$book->setExtraParameters(array('language' => 'polish'));
// or like this
$book->setLanguage('polish');
$book->save();

echo $book->getLanguage();
echo $book->getExtraParameters('language');
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

4545d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b13eb184ecde0164452c4e4cb84b23a1b986161eaa38fde9595e393951f76bf?d=identicon)[czogori](/maintainers/czogori)

---

Top Contributors

[![czogori](https://avatars.githubusercontent.com/u/892292?v=4)](https://github.com/czogori "czogori (50 commits)")

---

Tags

postgresqlpostgresBehaviorpropelhstore

### Embed Badge

![Health badge](/badges/czogori-propel-postgres-hstore-behavior/health.svg)

```
[![Health](https://phpackages.com/badges/czogori-propel-postgres-hstore-behavior/health.svg)](https://phpackages.com/packages/czogori-propel-postgres-hstore-behavior)
```

###  Alternatives

[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.

4535.7M4](/packages/martin-georgiev-postgresql-for-doctrine)[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58825.2M48](/packages/scienta-doctrine-json-functions)[aura/sql

A PDO extension that provides lazy connections, array quoting, query profiling, value binding, and convenience methods for common fetch styles. Because it extends PDO, existing code that uses PDO can use this without any changes to the existing code.

5642.6M53](/packages/aura-sql)[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4563.1M37](/packages/aura-sqlquery)[umbrellio/laravel-pg-extensions

Extensions for Postgres Laravel

102443.2k1](/packages/umbrellio-laravel-pg-extensions)[voryx/pgasync

Async Reactive Postgres Driver for PHP (Non-blocking)

11295.9k4](/packages/voryx-pgasync)

PHPackages © 2026

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