{"id":45677687,"url":"https://github.com/alhames/db-bundle","last_synced_at":"2026-02-24T13:07:51.245Z","repository":{"id":22762506,"uuid":"96913008","full_name":"alhames/db-bundle","owner":"alhames","description":"Symfony Bundle for MySQL/MariaDB Database","archived":false,"fork":false,"pushed_at":"2024-04-20T18:03:28.000Z","size":105,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-17T07:49:42.668Z","etag":null,"topics":["database","mysqli","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alhames.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-07-11T16:14:47.000Z","updated_at":"2024-04-20T17:59:25.000Z","dependencies_parsed_at":"2024-04-20T18:51:33.009Z","dependency_job_id":null,"html_url":"https://github.com/alhames/db-bundle","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/alhames/db-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhames%2Fdb-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhames%2Fdb-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhames%2Fdb-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhames%2Fdb-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alhames","download_url":"https://codeload.github.com/alhames/db-bundle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhames%2Fdb-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29783615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T10:45:18.109Z","status":"ssl_error","status_checked_at":"2026-02-24T10:45:09.911Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["database","mysqli","symfony","symfony-bundle"],"created_at":"2026-02-24T13:07:50.713Z","updated_at":"2026-02-24T13:07:51.240Z","avatar_url":"https://github.com/alhames.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AlhamesDbBundle\n\nSymfony Bundle for MySQL/MariaDB Database\n\nInstallation\n============\n\nApplications that use Symfony Flex\n----------------------------------\n\nOpen a command console, enter your project directory and execute:\n\n```console\n$ composer require alhames/db-bundle\n```\n\nApplications that don't use Symfony Flex\n----------------------------------------\n\n### Step 1: Download the Bundle\n\nOpen a command console, enter your project directory and execute the\nfollowing command to download the latest stable version of this bundle:\n\n```console\n$ composer require alhames/db-bundle\n```\n\nThis command requires you to have Composer installed globally, as explained\nin the [installation chapter](https://getcomposer.org/doc/00-intro.md)\nof the Composer documentation.\n\n### Step 2: Enable the Bundle\n\nThen, enable the bundle by adding it to the list of registered bundles\nin the `app/AppKernel.php` file of your project:\n\n```php\n\u003c?php\n// app/AppKernel.php\n\n// ...\nclass AppKernel extends Kernel\n{\n    public function registerBundles()\n    {\n        $bundles = array(\n            // ...\n            new \\Alhames\\DbBundle\\AlhamesDbBundle(),\n        );\n\n        // ...\n    }\n\n    // ...\n}\n```\n\nConfiguration\n=============\n\nFull Default Configuration\n--------------------------\n\n```yaml\nalhames_db:\n  default_connection: 'default'\n  default_database: ~\n  cache: ~ # null or service name\n  logger: ~ # null, false or service name\n  query_formatter: ~ # null or service name\n  \n  connections:\n\n    # Prototype\n    name:\n      host: '127.0.0.1'\n      username: 'root'\n      password: ''\n      database: ~\n      port: 3306\n      charset: 'utf8mb4'\n  \n  tables:\n\n    # Prototype\n    name:\n      table: ~\n      database: ~\n      connection: ~\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falhames%2Fdb-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falhames%2Fdb-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falhames%2Fdb-bundle/lists"}