{"id":18929547,"url":"https://github.com/thecodingmachine/dbal-universal-module","last_synced_at":"2026-03-16T15:30:16.629Z","repository":{"id":57067864,"uuid":"53315940","full_name":"thecodingmachine/dbal-universal-module","owner":"thecodingmachine","description":"Cross-framework module for doctrine/dbal","archived":false,"fork":false,"pushed_at":"2017-12-14T14:03:42.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-16T12:30:26.097Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thecodingmachine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-07T10:14:32.000Z","updated_at":"2016-03-07T10:16:51.000Z","dependencies_parsed_at":"2022-08-24T10:20:35.225Z","dependency_job_id":null,"html_url":"https://github.com/thecodingmachine/dbal-universal-module","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fdbal-universal-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fdbal-universal-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fdbal-universal-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fdbal-universal-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodingmachine","download_url":"https://codeload.github.com/thecodingmachine/dbal-universal-module/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239927825,"owners_count":19719835,"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":[],"created_at":"2024-11-08T11:33:28.339Z","updated_at":"2026-03-16T15:30:16.514Z","avatar_url":"https://github.com/thecodingmachine.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DBAL universal module\n\nThis package integrates Doctrine DBAL in any [container-interop](https://github.com/container-interop/service-provider) compatible framework/container.\n\n## Installation\n\n```\ncomposer require thecodingmachine/dbal-universal-module\n```\n\nOnce installed, you need to register the [`TheCodingMachine\\DbalServiceProvider`](src/DbalServiceProvider.php) into your container.\n\nIf your container supports thecodingmachine/discovery integration, you have nothing to do. Otherwise, refer to your framework or container's documentation to learn how to register *service providers*.\n\n## Introduction\n\nThis service provider is meant to provide one connection to your database.\nIf you need more than one connection to your database, please configure your container directly.\n\n## Expected values / services\n\nThis *service provider* expects the following configuration / services to be available:\n\n| Name            | Compulsory | Description                            |\n|-----------------|------------|----------------------------------------|\n| `dbal.host`       | *no*       | The database host. Defaults to *localhost*  |\n| `dbal.user`       | *no*       | The database user. Defaults to *root*  |\n| `dbal.password`   | *no*       | The database password. Defaults to *empty*  |\n| `dbal.port`       | *no*       | The database port. Defaults to *3306*  |\n| `dbal.dbname`     | **yes**    | The database name.  |\n| `dbal.charset`    | *no*    | The database character set.  |\n| `dbal.driverOptions`    | *no*    | An array of driver options. Defaults to `[1002 =\u003e\"SET NAMES utf8\"]`  |\n| `dbal.params`       | *no*       | An array of parameters directly passed to the `Connection` object. If this parameter is set, all parameters above are ignored.  |\n| `Doctrine\\DBAL\\Driver`       | *no*       | The DBAL driver to use to create the connection. Defaults to DBAL's PDO_MySQL Driver service  |\n\n\n## Provided services\n\nThis *service provider* provides the following services:\n\n| Service name                | Description                          |\n|-----------------------------|--------------------------------------|\n| `Doctrine\\DBAL\\Connection`  | A DBAL connection to your database   |\n\n## Extended services\n\nThis *service provider* does not extend any service.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fdbal-universal-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodingmachine%2Fdbal-universal-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fdbal-universal-module/lists"}