PHPackages                             kphoen/propel-multiple-aggregate-column-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. kphoen/propel-multiple-aggregate-column-behavior

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

kphoen/propel-multiple-aggregate-column-behavior
================================================

Propel Behavior that allows multiple aggregate columns on a single table

1.0.0(13y ago)047.3kMITPHPPHP &gt;=5.2.4

Since Nov 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/K-Phoen/PropelMultipleAggregateColumnBehavior)[ Packagist](https://packagist.org/packages/kphoen/propel-multiple-aggregate-column-behavior)[ RSS](/packages/kphoen-propel-multiple-aggregate-column-behavior/feed)WikiDiscussions master Synced 1mo ago

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

PropelMultipleAggregateColumnBehavior
=====================================

[](#propelmultipleaggregatecolumnbehavior)

[![Build Status](https://camo.githubusercontent.com/6048e1938746793f793ec5bb218df8a3ea672ecdb311c4c551947f26e5b0c72c/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f4b2d50686f656e2f50726f70656c4d756c7469706c65416767726567617465436f6c756d6e4265686176696f722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/K-Phoen/PropelMultipleAggregateColumnBehavior)

This behavior is an almost exact copy of the bundled aggregate\_column behavior, with the addition of allowing multiple aggregate columns on a single table - something not possible with the existing behavior.

This behaviors aims to be **fully compatible** with the original aggregate\_column behavior.

Status
------

[](#status)

This project is **DEPRECATED** and should NOT be used.

If someone magically appears and wants to maintain this project, I'll gladly give access to this repository.

Working with several aggregates
-------------------------------

[](#working-with-several-aggregates)

The syntax is pretty straightforward :

```

```

If you want to define several aggregates, the *count* parameter is mandatory. You will then be able to define as many aggregates as you want.

Working with a single aggregate
-------------------------------

[](#working-with-a-single-aggregate)

However, if you only have one aggregate, the *count* parameter can be omitted and the behavior recognises the same syntax as the old aggregate\_column behavior:

```

```

Advanced usage
--------------

[](#advanced-usage)

For further information, please refer to [the official Aggregate Column Behavior documentation](http://propelorm.org/behaviors/aggregate-column.html).

Credits
-------

[](#credits)

- [Nathan Jacobson](https://github.com/natecj/PropelMultipleAggregateColumnBehavior): original author of this behavior. I used his work as a base, made it fully functionnal and tested it.

Licence
-------

[](#licence)

MIT, see the LICENCE file.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

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

4909d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66958?v=4)[Kévin Gomez](/maintainers/K-Phoen)[@K-Phoen](https://github.com/K-Phoen)

---

Top Contributors

[![K-Phoen](https://avatars.githubusercontent.com/u/66958?v=4)](https://github.com/K-Phoen "K-Phoen (24 commits)")[![natecj](https://avatars.githubusercontent.com/u/22107?v=4)](https://github.com/natecj "natecj (5 commits)")

---

Tags

Behaviorpropelaggregatemultiple-aggregateaggregate-column

### Embed Badge

![Health badge](/badges/kphoen-propel-multiple-aggregate-column-behavior/health.svg)

```
[![Health](https://phpackages.com/badges/kphoen-propel-multiple-aggregate-column-behavior/health.svg)](https://phpackages.com/packages/kphoen-propel-multiple-aggregate-column-behavior)
```

###  Alternatives

[josegonzalez/cakephp-upload

CakePHP plugin to handle file uploading sans ridiculous automagic

5451.3M9](/packages/josegonzalez-cakephp-upload)[propel/propel-bundle

Integration of Propel in Symfony

181905.3k53](/packages/propel-propel-bundle)[mysql-workbench-schema-exporter/mysql-workbench-schema-exporter

MySQL Workbench Schema Exporter

488188.5k10](/packages/mysql-workbench-schema-exporter-mysql-workbench-schema-exporter)[voskobovich/yii2-linker-behavior

This behavior makes it easy to maintain many-to-many and one-to-many relations in your ActiveRecord models.

80319.0k9](/packages/voskobovich-yii2-linker-behavior)[sjaakp/yii2-sortable-behavior

Sort ActiveRecords and related records in Yii2.

36144.7k](/packages/sjaakp-yii2-sortable-behavior)

PHPackages © 2026

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