PHPackages                             contao-community-alliance/dc-general - 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. [Framework](/categories/framework)
4. /
5. contao-community-alliance/dc-general

ActiveContao-bundle[Framework](/categories/framework)

contao-community-alliance/dc-general
====================================

Universal data container for Contao

2.4.17(1mo ago)1581.4k↑89.2%21[96 issues](https://github.com/contao-community-alliance/dc-general/issues)[3 PRs](https://github.com/contao-community-alliance/dc-general/pulls)20LGPL-3.0-or-laterPHPPHP ^8.2CI passing

Since May 15Pushed 2w ago11 watchersCompare

[ Source](https://github.com/contao-community-alliance/dc-general)[ Packagist](https://packagist.org/packages/contao-community-alliance/dc-general)[ Docs](https://c-c-a.org/)[ RSS](/packages/contao-community-alliance-dc-general/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (180)Versions (141)Used By (20)

[![Build Status](https://github.com/contao-community-alliance/dc-general/actions/workflows/diagnostics.yml/badge.svg)](https://github.com/contao-community-alliance/dc-general/actions)[![Latest Version tagged](https://camo.githubusercontent.com/9c196595445ed4eec87e793db54e50266390858bdf2cc3ad6785d79fb9ec7aad/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f64632d67656e6572616c2e737667)](https://github.com/contao-community-alliance/dc-general/tags)[![Latest Version on Packagist](https://camo.githubusercontent.com/0a3809900eca3219a3f3c752be769460a3122501a0669885682f0573f22c6b9b/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f64632d67656e6572616c2e737667)](https://packagist.org/packages/contao-community-alliance/dc-general)[![Installations via composer per month](https://camo.githubusercontent.com/e9c276f00e391831694fc3e569e0966a283166a5e2464635251ebd1e164da60e/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f64632d67656e6572616c2e737667)](https://packagist.org/packages/contao-community-alliance/dc-general)

DC\_General
===========

[](#dc_general)

The DC\_General is a universal data container for Contao and is an alternative for the DC\_Table of the Contao framework.

With the DC\_General we facilitate programming with excellent functions and influence possibilities.

Different to Contao DC\_Table
=============================

[](#different-to-contao-dc_table)

With the use of the DC\_General there are many advantages, e.g.

- Object-oriented data container definitions
- Event driven
- abstraction of the data source
- modular design
- verification of data - no invalid records
- improved configuration of dependencies between data containers
- more control through events

How to use
==========

[](#how-to-use)

Simply declare an DCA as usual but put "General" instead of "Table" for the 'config/dataContainer' part. This will make DC\_General to be used.

There are some notable changes in compatibility considering DC\_Table:

1. DC\_General does NOT support magic properties but provides setter and getter for almost anything you might desire.
2. There is NO activeRecord available as DC\_General uses it's own kind of data Models internally.
3. The system is totally event driven and relevant information (like the model in scope) is attached to the events.

Help for the start
==================

[](#help-for-the-start)

You can start with our new [documentation](https://dc-general.readthedocs.io/de/latest/index.html)(currently in german) or [older one](http://contao-community-alliance.github.io/dc-general-docs/) (in english).

We have an overview of [DCA mapping](https://dc-general.readthedocs.io/de/latest/reference/dca_mapping.html)and [Callbacks](https://dc-general.readthedocs.io/de/latest/reference/callbacks.html).

In our [examples](https://github.com/contao-community-alliance/dc-general-example)you can see the difference to DC\_Table.

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance73

Regular maintenance activity

Popularity41

Moderate usage in the ecosystem

Community48

Growing community involvement

Maturity93

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~38 days

Recently: every ~12 days

Total

117

Last Release

50d ago

PHP version history (7 changes)2.0.0-alpha1PHP &gt;=5.3

2.0.0-beta39PHP &gt;=5.4

2.0.0-beta42PHP ^5.6 || ^7.0

2.1.0PHP ^7.1

2.2.0PHP ^7.4

2.3.0PHP ^8.1

2.4.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44649522?v=4)[xtra](/maintainers/xtra)[@xtra](https://github.com/xtra)

![](https://avatars.githubusercontent.com/u/10211934?v=4)[Chibineko](/maintainers/Chibineko)[@chibineko](https://github.com/chibineko)

![](https://avatars.githubusercontent.com/u/8189209?v=4)[netzmacht](/maintainers/netzmacht)[@netzmacht](https://github.com/netzmacht)

![](https://avatars.githubusercontent.com/u/8672569?v=4)[California College of Arts](/maintainers/cca)[@cca](https://github.com/cca)

![](https://avatars.githubusercontent.com/u/5380530?v=4)[zonky](/maintainers/zonky)[@zonky](https://github.com/zonky)

---

Top Contributors

[![discordier](https://avatars.githubusercontent.com/u/940331?v=4)](https://github.com/discordier "discordier (1729 commits)")[![baumannsven](https://avatars.githubusercontent.com/u/2493263?v=4)](https://github.com/baumannsven "baumannsven (548 commits)")[![tristanlins](https://avatars.githubusercontent.com/u/343404?v=4)](https://github.com/tristanlins "tristanlins (489 commits)")[![stefanheimes](https://avatars.githubusercontent.com/u/988286?v=4)](https://github.com/stefanheimes "stefanheimes (454 commits)")[![zonky2](https://avatars.githubusercontent.com/u/1045318?v=4)](https://github.com/zonky2 "zonky2 (355 commits)")[![dmolineus](https://avatars.githubusercontent.com/u/1186266?v=4)](https://github.com/dmolineus "dmolineus (201 commits)")[![kahl-dev](https://avatars.githubusercontent.com/u/1116086?v=4)](https://github.com/kahl-dev "kahl-dev (66 commits)")[![e-spin](https://avatars.githubusercontent.com/u/6942009?v=4)](https://github.com/e-spin "e-spin (60 commits)")[![backbone87](https://avatars.githubusercontent.com/u/1196313?v=4)](https://github.com/backbone87 "backbone87 (40 commits)")[![andreasisaak](https://avatars.githubusercontent.com/u/156767?v=4)](https://github.com/andreasisaak "andreasisaak (29 commits)")[![richardhj](https://avatars.githubusercontent.com/u/1284725?v=4)](https://github.com/richardhj "richardhj (25 commits)")[![cliffparnitzky](https://avatars.githubusercontent.com/u/1247552?v=4)](https://github.com/cliffparnitzky "cliffparnitzky (11 commits)")[![cboelter](https://avatars.githubusercontent.com/u/550207?v=4)](https://github.com/cboelter "cboelter (10 commits)")[![gmpf](https://avatars.githubusercontent.com/u/13484650?v=4)](https://github.com/gmpf "gmpf (4 commits)")[![xat](https://avatars.githubusercontent.com/u/182512?v=4)](https://github.com/xat "xat (4 commits)")[![davidmaack](https://avatars.githubusercontent.com/u/988290?v=4)](https://github.com/davidmaack "davidmaack (3 commits)")[![k-webdesign](https://avatars.githubusercontent.com/u/4130440?v=4)](https://github.com/k-webdesign "k-webdesign (3 commits)")[![frontendschlampe](https://avatars.githubusercontent.com/u/1232819?v=4)](https://github.com/frontendschlampe "frontendschlampe (3 commits)")[![Zeromax](https://avatars.githubusercontent.com/u/1867177?v=4)](https://github.com/Zeromax "Zeromax (3 commits)")[![Ainschy](https://avatars.githubusercontent.com/u/1788135?v=4)](https://github.com/Ainschy "Ainschy (2 commits)")

---

Tags

contaodc-generaldcgdriverphpphpcontainerframeworkdatadrivercontao

### Embed Badge

![Health badge](/badges/contao-community-alliance-dc-general/health.svg)

```
[![Health](https://phpackages.com/badges/contao-community-alliance-dc-general/health.svg)](https://phpackages.com/packages/contao-community-alliance-dc-general)
```

###  Alternatives

[contao/core-bundle

Contao Open Source CMS

1301.7M3.1k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M676](/packages/shopware-core)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M779](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[contao/contao

Contao Open Source CMS development package

43514.5k2](/packages/contao-contao)[chameleon-system/chameleon-base

The Chameleon System core.

1029.4k6](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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