{"id":28700757,"url":"https://github.com/nebula-contrib/nebula-php","last_synced_at":"2025-06-14T11:40:47.345Z","repository":{"id":45249897,"uuid":"436202681","full_name":"nebula-contrib/nebula-php","owner":"nebula-contrib","description":"NebulaGraph php SDK/Client","archived":false,"fork":false,"pushed_at":"2021-12-28T08:17:27.000Z","size":190,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-14T04:54:17.405Z","etag":null,"topics":["graphdatabase","nebulagraph","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nebula-contrib.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-08T10:15:58.000Z","updated_at":"2024-03-07T05:32:23.000Z","dependencies_parsed_at":"2022-09-13T13:51:09.997Z","dependency_job_id":null,"html_url":"https://github.com/nebula-contrib/nebula-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nebula-contrib/nebula-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebula-contrib%2Fnebula-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebula-contrib%2Fnebula-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebula-contrib%2Fnebula-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebula-contrib%2Fnebula-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nebula-contrib","download_url":"https://codeload.github.com/nebula-contrib/nebula-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nebula-contrib%2Fnebula-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259810961,"owners_count":22915134,"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":["graphdatabase","nebulagraph","php"],"created_at":"2025-06-14T11:40:44.583Z","updated_at":"2025-06-14T11:40:47.338Z","avatar_url":"https://github.com/nebula-contrib.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Nebula-PHP\n\n![CI](https://github.com/heyanlong/nebula-php/workflows/E2E/badge.svg)\n![release](https://img.shields.io/github/release/heyanlong/nebula-php.svg)\n![PHP](https://img.shields.io/badge/PHP-%3E%3D%207.0-brightgreen.svg)\n![contributors](https://img.shields.io/github/contributors/heyanlong/nebula-php.svg)\n![platform](https://img.shields.io/badge/platform-macos%20%7C%20linux-brightgreen.svg)\n![license](https://img.shields.io/badge/license-Apache%202.0-green.svg)\n![issues](https://img.shields.io/github/issues/heyanlong/nebula-php.svg)\n\nNebula PHP client.\n\n## Install with Composer\n\n[https://packagist.org/packages/vesoft-inc/nebula-php](https://packagist.org/packages/vesoft-inc/nebula-php)\n```shell\ncomposer require vesoft-inc/nebula-php\n```\n\n## Quick Start\n\n```php\n\u003c?php\nrequire 'vendor/autoload.php';\n\n$client = new Nebula\\GraphClient(\"127.0.0.1\", 9669);\n\n$client-\u003eauthenticate(\"root\", \"1212\");\n\n$create = \"CREATE SPACE IF NOT EXISTS test(vid_type=FIXED_STRING(30));\";\n$create .= \"USE test;\";\n$create .= \"CREATE TAG IF NOT EXISTS person(name string, age int);\";\n$create .= \"CREATE EDGE like (likeness double);\";\n$client-\u003eexecute($create);\n\nsleep(10);\n\n$client-\u003eexecute('INSERT VERTEX person(name, age) VALUES \"Bob\":(\"Bob\", 10), \"Lily\":(\"Lily\", 9)');\n$client-\u003eexecute('INSERT EDGE like(likeness) VALUES \"Bob\"-\u003e\"Lily\":(80.0);');\n$client-\u003eexecute('FETCH PROP ON person \"Bob\" YIELD vertex as node');\n$client-\u003eexecute('FETCH PROP ON like \"Bob\"-\u003e\"Lily\" YIELD edge as e');\n$client-\u003eexecute('DROP SPACE test');\n```\n\n## License\n\nNebula PHP is under Apache2.0 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnebula-contrib%2Fnebula-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnebula-contrib%2Fnebula-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnebula-contrib%2Fnebula-php/lists"}