{"id":23219121,"url":"https://github.com/b2pweb/bdf-prime-bundle","last_synced_at":"2026-01-28T07:03:37.851Z","repository":{"id":40269988,"uuid":"268809846","full_name":"b2pweb/bdf-prime-bundle","owner":"b2pweb","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-28T13:22:53.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-12T08:28:20.076Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b2pweb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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}},"created_at":"2020-06-02T13:33:24.000Z","updated_at":"2025-04-28T13:18:13.000Z","dependencies_parsed_at":"2024-01-15T13:02:29.908Z","dependency_job_id":"e8a8dab8-1711-4d17-a667-80815513f49c","html_url":"https://github.com/b2pweb/bdf-prime-bundle","commit_stats":{"total_commits":52,"total_committers":2,"mean_commits":26.0,"dds":0.4807692307692307,"last_synced_commit":"ffee1dff35edc41b5cd0bb90ee682ff0e04e8fc7"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/b2pweb/bdf-prime-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2pweb%2Fbdf-prime-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2pweb%2Fbdf-prime-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2pweb%2Fbdf-prime-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2pweb%2Fbdf-prime-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b2pweb","download_url":"https://codeload.github.com/b2pweb/bdf-prime-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2pweb%2Fbdf-prime-bundle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270175410,"owners_count":24539996,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-18T21:19:20.678Z","updated_at":"2026-01-28T07:03:32.831Z","avatar_url":"https://github.com/b2pweb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![build](https://github.com/b2pweb/bdf-prime-bundle/actions/workflows/php.yml/badge.svg)](https://github.com/b2pweb/bdf-prime-bundle/actions/workflows/php.yml)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/b2pweb/bdf-prime-bundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/b2pweb/bdf-prime-bundle/?branch=master)\n[![Packagist Version](https://img.shields.io/packagist/v/b2pweb/bdf-prime-bundle.svg)](https://packagist.org/packages/b2pweb/bdf-prime-bundle)\n[![Total Downloads](https://img.shields.io/packagist/dt/b2pweb/bdf-prime-bundle.svg)](https://packagist.org/packages/b2pweb/bdf-prime-bundle)\n\nInstallation\n============\n\n1 Download the Bundle\n---------------------\n\nDownload the latest stable version of this bundle with composer:\n\n```bash\ncomposer require b2pweb/bdf-prime-bundle\n```\n\n2 Enable the Bundle\n-------------------\n\nAdding the following line in the `config/bundles.php` file of your project:\n\n```php\n\u003c?php\n// config/bundles.php\n\nreturn [\n    // ...\n    Bdf\\PrimeBundle\\PrimeBundle::class =\u003e ['all' =\u003e true],\n    Bdf\\PrimeBundle\\TestingPrimeBundle::class =\u003e ['test' =\u003e true],\n    // ...\n];\n```\n\n3 Set environment\n-----------------\n\nAdd your dsn on the`.env` file\n\n```\nDATABASE_URL=mysql://root@127.0.0.1/dbname?serverVersion=5.7\n```\n\nAdd your dsn on the`.env.test` file\n\n```\nDATABASE_URL=sqlite::memory:\n```\n\n4 Add configuration\n-------------------\n\nAdd a default config file to `./config/packages/prime.yaml`\n\n```yaml\nprime:\n    activerecord: true\n    hydrators: '%kernel.cache_dir%/prime/hydrators/loader.php'\n    default_connection: 'default'\n    connections:\n        default: '%env(resolve:DATABASE_URL)%'\n    \n    migration:\n        connection: 'default'\n        path: '%kernel.project_dir%/src/Migration'\n```\n\nEnable caching for production\n\n```yaml\nprime:\n  cache:\n    query:\n      service: 'Bdf\\Prime\\Cache\\ArrayCache'\n    metadata:\n      pool: 'cache.app'\n```\n\nAdd a test file to `./config/packages/test/prime.yaml`\n\n```yaml\nprime:\n  logging: false\n  cache:\n    query:\n      pool: null\n      service: null\n\n    metadata:\n      pool: null\n      service: null\n```\n\nSee [the available values](Resources/doc/configuration.md) of the configuration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb2pweb%2Fbdf-prime-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb2pweb%2Fbdf-prime-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb2pweb%2Fbdf-prime-bundle/lists"}