PHPackages                             rasa-web/propel-postgres-json-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. rasa-web/propel-postgres-json-behavior

AbandonedArchivedLibrary

rasa-web/propel-postgres-json-behavior
======================================

Storage of complex data using Postgres JSON.

56771PHP

Since Apr 9Pushed 9y ago3 watchersCompare

[ Source](https://github.com/rasa-web/postgres-json-behavior)[ Packagist](https://packagist.org/packages/rasa-web/propel-postgres-json-behavior)[ RSS](/packages/rasa-web-propel-postgres-json-behavior/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

postgres-json-behavior
======================

[](#postgres-json-behavior)

[![Build Status](https://camo.githubusercontent.com/81cf8259d4664f3f3c8bd176820e89aef8511653eb98112c861b216900b6ed9d/68747470733a2f2f7472617669732d63692e6f72672f726173612d7765622f706f7374677265732d6a736f6e2d6265686176696f722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/rasa-web/postgres-json-behavior)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/8340f289d0295a39b5444c01b3c80b1d8cc7c6f7e9ca374b4ca6880bacdffa33/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726173612d7765622f706f7374677265732d6a736f6e2d6265686176696f722f6261646765732f7175616c6974792d73636f72652e706e673f733d63363862303864646530393432336465373666386233363562333832396538373535316662653333)](https://scrutinizer-ci.com/g/rasa-web/postgres-json-behavior/)[![Code Coverage](https://camo.githubusercontent.com/370769ff99fbdea4d0dac3f5364cec385462b8580e764463c5328b931565637a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726173612d7765622f706f7374677265732d6a736f6e2d6265686176696f722f6261646765732f636f7665726167652e706e673f733d33386536376363626338303938636537643163643037373762353436646462363766356133306166)](https://scrutinizer-ci.com/g/rasa-web/postgres-json-behavior/)

PostgresSql JSON behavior for propel, This behavior only support postgres 9.3 and (maybe) upper version.

Add behavior into your build.properties :

```
propel.behavior.postgres_json.class = path.to.vendor.rasa-web.propel-postgres-json-behavior.src.PostgresJsonBehavior

```

Create your schema:

```

```

Build your model, the type automatically changed to JSON in result sql.

```
//Base class
$object->getJson1(); // Get the json1 field in array format (not string)
// If the exception_on_not_found is true then there is an exception if key is not available
$object->getJson1Path("key1.subkey.subkey.lastkey", $default);// get the 'value' {"key":{"subkey":{"subkey":{"lastkey": "value"}}}}
$object->setJson1Path("path.to.key", $value)
// Query class
$objectQuery->filterByJson1Path("a.b.c", "value"); // search for {"a":{"b":{"c":"value"}}}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

[![fzerorubigd](https://avatars.githubusercontent.com/u/935155?v=4)](https://github.com/fzerorubigd "fzerorubigd (11 commits)")[![atkrad](https://avatars.githubusercontent.com/u/351364?v=4)](https://github.com/atkrad "atkrad (3 commits)")[![omid](https://avatars.githubusercontent.com/u/45714?v=4)](https://github.com/omid "omid (2 commits)")[![paknahad](https://avatars.githubusercontent.com/u/1970573?v=4)](https://github.com/paknahad "paknahad (2 commits)")

### Embed Badge

![Health badge](/badges/rasa-web-propel-postgres-json-behavior/health.svg)

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

PHPackages © 2026

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