{"id":21850552,"url":"https://github.com/neo4j-php/php-cypher-dsl","last_synced_at":"2025-04-14T15:03:15.272Z","repository":{"id":37437077,"uuid":"428686671","full_name":"neo4j-php/php-cypher-dsl","owner":"neo4j-php","description":"A low-level query builder for Cypher written in PHP","archived":false,"fork":false,"pushed_at":"2024-01-07T15:19:39.000Z","size":1605,"stargazers_count":18,"open_issues_count":19,"forks_count":5,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-14T13:47:07.456Z","etag":null,"topics":["cypher","neo4j","neo4j-php","opencypher","php"],"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/neo4j-php.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-11-16T14:24:07.000Z","updated_at":"2024-08-10T00:16:23.000Z","dependencies_parsed_at":"2024-01-07T16:38:05.160Z","dependency_job_id":"1fd97324-c329-41a3-ac8f-277a091c889a","html_url":"https://github.com/neo4j-php/php-cypher-dsl","commit_stats":{"total_commits":470,"total_committers":7,"mean_commits":67.14285714285714,"dds":0.6404255319148936,"last_synced_commit":"86e495608d5838b138ab7f2a83abf679126d5e7c"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fphp-cypher-dsl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fphp-cypher-dsl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fphp-cypher-dsl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j-php%2Fphp-cypher-dsl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neo4j-php","download_url":"https://codeload.github.com/neo4j-php/php-cypher-dsl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226837173,"owners_count":17689941,"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":["cypher","neo4j","neo4j-php","opencypher","php"],"created_at":"2024-11-28T00:18:06.873Z","updated_at":"2024-11-28T00:18:07.551Z","avatar_url":"https://github.com/neo4j-php.png","language":"PHP","readme":"# php-cypher-dsl\n\nThe `php-cypher-dsl` library provides a way to construct advanced Cypher\nqueries in an object-oriented and type-safe manner.\n\n## Documentation\n\n[The documentation can be found on the wiki\nhere.](https://github.com/WikibaseSolutions/php-cypher-dsl/wiki)\n\n## Installation\n\n### Requirements\n\n`php-cypher-dsl` requires PHP 7.4 or greater; using the latest version of PHP\nis highly recommended.\n\n### Installation through Composer\n\nYou can install `php-cypher-dsl` through composer by running the following\ncommand:\n\n```\ncomposer require \"wikibase-solutions/php-cypher-dsl\"\n```\n\n## Contributing\n\nPlease refer to [CONTRIBUTING.md](https://github.com/neo4j-php/php-cypher-dsl/blob/main/.github/CONTRIBUTING.md) for information on how to contribute to this project.\n\n## Example\n\nTo construct a query to find all of Tom Hanks' co-actors, you can use the\nfollowing code:\n\n```php\nuse function WikibaseSolutions\\CypherDSL\\node;\nuse function WikibaseSolutions\\CypherDSL\\query;\n\n$tom = node(\"Person\")-\u003ewithProperties([\"name\" =\u003e \"Tom Hanks\"]);\n$coActors = node();\n\n$statement = query()\n    -\u003ematch($tom-\u003erelationshipTo(Query::node(), \"ACTED_IN\")-\u003erelationshipFrom($coActors, \"ACTED_IN\"))\n    -\u003ereturning($coActors-\u003eproperty(\"name\"))\n    -\u003ebuild();\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-php%2Fphp-cypher-dsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo4j-php%2Fphp-cypher-dsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j-php%2Fphp-cypher-dsl/lists"}