{"id":14970807,"url":"https://github.com/neo4j-php/cypher-entity-manager","last_synced_at":"2025-10-06T02:38:02.007Z","repository":{"id":59508436,"uuid":"536773761","full_name":"neo4j-php/cypher-entity-manager","owner":"neo4j-php","description":"Framework agnostic cypher entity manager","archived":false,"fork":false,"pushed_at":"2025-02-15T13:35:34.000Z","size":276,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-22T05:23:39.781Z","etag":null,"topics":["cypher","entity-manager","neo4j","php"],"latest_commit_sha":null,"homepage":"https://syndesi.github.io/cypher-entity-manager/","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":"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,"zenodo":null}},"created_at":"2022-09-14T22:03:51.000Z","updated_at":"2025-09-05T16:11:31.000Z","dependencies_parsed_at":"2024-11-09T06:44:13.894Z","dependency_job_id":"8d44a419-206e-4ccd-8f1b-cf0812a85840","html_url":"https://github.com/neo4j-php/cypher-entity-manager","commit_stats":{"total_commits":69,"total_committers":3,"mean_commits":23.0,"dds":"0.30434782608695654","last_synced_commit":"2e69ac55a7535d9aa85d76b7360c8f37719f95b1"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/neo4j-php/cypher-entity-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fcypher-entity-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fcypher-entity-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fcypher-entity-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fcypher-entity-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neo4j-php","download_url":"https://codeload.github.com/neo4j-php/cypher-entity-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fcypher-entity-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278551080,"owners_count":26005385,"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-10-06T02:00:05.630Z","response_time":65,"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":["cypher","entity-manager","neo4j","php"],"created_at":"2024-09-24T13:44:10.785Z","updated_at":"2025-10-06T02:38:01.979Z","avatar_url":"https://github.com/neo4j-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub](https://img.shields.io/github/license/neo4j-php/cypher-entity-manager)](https://github.com/neo4j-php/cypher-entity-manager/blob/main/LICENSE)\n![Neo4j Version Support](https://img.shields.io/badge/Neo4j-4.4%2B-blue)\n![Packagist PHP Version Support (specify version)](https://img.shields.io/packagist/php-v/syndesi/cypher-entity-manager/dev-main)\n![Packagist Version](https://img.shields.io/packagist/v/syndesi/cypher-entity-manager)\n![Packagist Downloads](https://img.shields.io/packagist/dm/syndesi/cypher-entity-manager)\n\n[![Test Coverage](https://api.codeclimate.com/v1/badges/ecd3da92ddb4d8ac99a5/test_coverage)](https://codeclimate.com/github/Syndesi/cypher-entity-manager/test_coverage)\n[![Maintainability](https://api.codeclimate.com/v1/badges/ecd3da92ddb4d8ac99a5/maintainability)](https://codeclimate.com/github/Syndesi/cypher-entity-manager/maintainability)\n\n# Syndesi's Cypher Entity Manager\n\nThis library provides an entity manager for Cypher data types.  \nThis basically means, that you do not have to write create/merge/delete statements for your nodes, relations etc. per\nhand. Instead, you just call `$em-\u003ecreate($node)`, `$em-\u003emerge($node)`, `$em-\u003edelete($node)` and at the end\n`$em-\u003eflush()`.\n\n- [Documentation](https://neo4j-php.github.io/cypher-entity-manager)\n- [Packagist](https://packagist.org/packages/syndesi/cypher-entity-manager)\n\n## Installation\n\nTo install this library, run the following code:\n\n```bash\ncomposer require syndesi/cypher-entity-manager\n```\n\nThis is all, now you can use the library :D\n\n## Using the library\n\n```php\nuse Syndesi\\CypherDataStructures\\Type\\Node;\nuse Syndesi\\CypherEntityManager\\Type\\EntityManager;\n\n/**\n * note: the container should be provided by your framework. manual configuration is possible, see documentation\n * @var EntityManagerInterface $em \n */\n$em = $container-\u003eget(EntityManager::class);\n\n$node = new Node();\n$node\n    -\u003eaddLabel('NodeLabel')\n    -\u003eaddIdentifier('id', 123)\n    -\u003eaddProperty('someProperty', 'someValue')\n    -\u003eaddIdentifier('id');\n\n// create a node:\n$em-\u003ecreate($node);\n$em-\u003eflush();\n\n// update a node:\n$node-\u003eaddProperty('newProperty', 'Hello world :D');\n$em-\u003emerge($node);\n$em-\u003eflush();\n\n// delete a node:\n$em-\u003edelete($node);\n$em-\u003eflush();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-php%2Fcypher-entity-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo4j-php%2Fcypher-entity-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-php%2Fcypher-entity-manager/lists"}