{"id":15021944,"url":"https://github.com/neo4j-php/neo4j-symfony","last_synced_at":"2025-05-16T05:00:28.635Z","repository":{"id":46276100,"uuid":"75826527","full_name":"neo4j-php/neo4j-symfony","owner":"neo4j-php","description":"Symfony Bundle for the Neo4j Graph Database","archived":false,"fork":false,"pushed_at":"2025-03-10T08:00:22.000Z","size":287,"stargazers_count":80,"open_issues_count":14,"forks_count":43,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-08T14:13:04.404Z","etag":null,"topics":["bundle","graph-database","neo4j","php","symfony","symfony-bundle"],"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/neo4j-php.png","metadata":{"files":{"readme":"docs/README.md","changelog":"Changelog.md","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}},"created_at":"2016-12-07T10:46:08.000Z","updated_at":"2025-04-06T01:01:46.000Z","dependencies_parsed_at":"2022-08-31T03:54:05.739Z","dependency_job_id":"527f058d-d126-49df-8723-d5a14ce490b6","html_url":"https://github.com/neo4j-php/neo4j-symfony","commit_stats":{"total_commits":185,"total_committers":12,"mean_commits":"15.416666666666666","dds":0.6432432432432432,"last_synced_commit":"7919235f0fa3d5072a21fa1b488c63a5df03b280"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fneo4j-symfony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fneo4j-symfony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fneo4j-symfony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fneo4j-symfony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neo4j-php","download_url":"https://codeload.github.com/neo4j-php/neo4j-symfony/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471028,"owners_count":22076582,"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":["bundle","graph-database","neo4j","php","symfony","symfony-bundle"],"created_at":"2024-09-24T19:57:14.816Z","updated_at":"2025-05-16T05:00:28.502Z","avatar_url":"https://github.com/neo4j-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neo4j Symfony Bundle\n\n[![Latest Version](https://img.shields.io/github/release/neo4j-contrib/neo4j-symfony.svg?style=flat-square)](https://github.com/neo4j-contrib/neo4j-symfony/releases)\n[![Build Status](https://img.shields.io/travis/neo4j-contrib/neo4j-symfony/master.svg?style=flat-square)](https://travis-ci.org/neo4j-contrib/neo4j-symfony)\n[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/neo4j-contrib/neo4j-symfony.svg?style=flat-square)](https://scrutinizer-ci.com/g/neo4j-contrib/neo4j-symfony)\n[![Quality Score](https://img.shields.io/scrutinizer/g/neo4j-contrib/neo4j-symfony.svg?style=flat-square)](https://scrutinizer-ci.com/g/neo4j-contrib/neo4j-symfony)\n[![Total Downloads](https://img.shields.io/packagist/dt/neo4j/neo4j-bundle.svg?style=flat-square)](https://packagist.org/packages/neo4j/neo4j-bundle)\n\n\nInstallation\n============\n\nMake sure Composer is installed globally, as explained in the\n[installation chapter](https://getcomposer.org/doc/00-intro.md)\nof the Composer documentation.\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 neo4j/neo4j-bundle\n```\n\n### Step 2: Enable the Bundle\n\nThen, enable the bundle by adding it to the list of registered bundles\nin the `config/bundles.php` file of your project:\n\n```php\n// config/bundles.php\n\nreturn [\n    // ...\n    \\Neo4j\\Neo4jBundle\\Neo4jBundle::class =\u003e ['all' =\u003e true],\n];\n```\n\n## Documentation\n\nThe bundle is a convenient way of registering services. We register `Drivers` and one\n`Clients`. You will always have alias for the default services:\n\n * neo4j.driver\n * neo4j.client\n\n\n### Minimal configuration\n\n```yaml\nneo4j:\n  drivers:\n    default: ~\n```\n\nWith the minimal configuration we have services named:\n * neo4j.driver.default\n * neo4j.client\n\n### Full configuration example\n\nThis example configures the client to contain two instances.\n\n```yaml\nneo4j:\n  profiling: true\n  default_driver: high-availability\n  drivers:\n    - alias: high-availability\n      dsn: 'neo4j://core1.mydomain.com:7687'\n      authentication:\n        type: 'oidc'\n        token: '%neo4j.openconnect-id-token%'\n      priority: 1\n    # Overriding the alias makes it so that there is a backup server to use in case\n    # the routing table cannot be fetched through the driver with a higher priority\n    # but the same alias.\n    # Once the table is fetched it will use that information to auto-route as usual.\n    - alias: high-availability\n      dsn: 'neo4j://core2.mydomain.com:7687'\n      priority: 0\n      authentication:\n        type: 'oidc'\n        token: '%neo4j.openconnect-id-token%'\n    - alias: backup-instance\n      dsn: 'bolt://localhost:7687'\n      authentication:\n        type: basic\n        username: '%neo4j.backup-user%'\n        password: '%neo4j.backup-pass%'\n```\n\n## Testing\n\n``` bash\n$ composer test\n```\n\n## Example application\n\nSee an example application at https://github.com/neo4j-examples/movies-symfony-php-bolt (legacy project)\n\n## License\n\nThe MIT License (MIT). Please see [License File](../LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-php%2Fneo4j-symfony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo4j-php%2Fneo4j-symfony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-php%2Fneo4j-symfony/lists"}