{"id":22061459,"url":"https://github.com/contao-community-alliance/dc-general","last_synced_at":"2025-05-12T22:30:00.243Z","repository":{"id":13915692,"uuid":"16614837","full_name":"contao-community-alliance/dc-general","owner":"contao-community-alliance","description":"Universal data container for Contao!","archived":false,"fork":false,"pushed_at":"2025-05-05T15:28:25.000Z","size":9762,"stargazers_count":16,"open_issues_count":108,"forks_count":21,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-11T09:39:38.189Z","etag":null,"topics":["contao","dc-general","dcg","driver","php"],"latest_commit_sha":null,"homepage":"https://dc-general.readthedocs.io/de/latest/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/contao-community-alliance.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-02-07T13:06:14.000Z","updated_at":"2025-04-06T21:58:32.000Z","dependencies_parsed_at":"2024-01-15T23:00:13.923Z","dependency_job_id":"5ea02936-b8ad-44f9-abab-ec97cddddc2f","html_url":"https://github.com/contao-community-alliance/dc-general","commit_stats":{"total_commits":3160,"total_committers":37,"mean_commits":85.4054054054054,"dds":0.5246835443037975,"last_synced_commit":"a91084614d92875bf41427de0a1ed2ab28589917"},"previous_names":[],"tags_count":80,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contao-community-alliance%2Fdc-general","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contao-community-alliance%2Fdc-general/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contao-community-alliance%2Fdc-general/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contao-community-alliance%2Fdc-general/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/contao-community-alliance","download_url":"https://codeload.github.com/contao-community-alliance/dc-general/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253832987,"owners_count":21971342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contao","dc-general","dcg","driver","php"],"created_at":"2024-11-30T18:12:33.198Z","updated_at":"2025-05-12T22:30:00.202Z","avatar_url":"https://github.com/contao-community-alliance.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![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)\n[![Latest Version tagged](http://img.shields.io/github/tag/contao-community-alliance/dc-general.svg)](https://github.com/contao-community-alliance/dc-general/tags)\n[![Latest Version on Packagist](http://img.shields.io/packagist/v/contao-community-alliance/dc-general.svg)](https://packagist.org/packages/contao-community-alliance/dc-general)\n[![Installations via composer per month](http://img.shields.io/packagist/dm/contao-community-alliance/dc-general.svg)](https://packagist.org/packages/contao-community-alliance/dc-general)\n\n\nDC_General\n==========\n\nThe DC_General is a universal data container for Contao and is an alternative\nfor the DC_Table of the Contao framework.\n\nWith the DC_General we facilitate programming with excellent functions and\ninfluence possibilities.\n\n\nDifferent to Contao DC_Table\n============================\n\nWith the use of the DC_General there are many advantages, e.g.\n\n* Object-oriented data container definitions\n* Event driven\n* abstraction of the data source\n* modular design\n* verification of data - no invalid records\n* improved configuration of dependencies between data containers\n* more control through events\n\n\nHow to use\n==========\n\nSimply declare an DCA as usual but put \"General\" instead of \"Table\" for the\n'config/dataContainer' part.\nThis will make DC_General to be used.\n\nThere are some notable changes in compatibility considering DC_Table:\n1. DC_General does NOT support magic properties but provides setter and getter\n   for almost anything you might desire.\n2. There is NO activeRecord available as DC_General uses it's own kind of data\n   Models internally.\n3. The system is totally event driven and relevant information (like the model\n   in scope) is attached to the events.\n\n\nHelp for the start\n==================\n\nYou can start with our new [documentation](https://dc-general.readthedocs.io/de/latest/index.html)\n(currently in german) or [older one](http://contao-community-alliance.github.io/dc-general-docs/) (in english). \n\nWe have an overview of [DCA mapping](https://dc-general.readthedocs.io/de/latest/reference/dca_mapping.html)\nand [Callbacks](https://dc-general.readthedocs.io/de/latest/reference/callbacks.html).\n\nIn our [examples](https://github.com/contao-community-alliance/dc-general-example)\nyou can see the difference to DC_Table.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontao-community-alliance%2Fdc-general","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontao-community-alliance%2Fdc-general","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontao-community-alliance%2Fdc-general/lists"}