{"id":15667421,"url":"https://github.com/mathisburger/surrealdb.php","last_synced_at":"2026-03-03T17:33:12.669Z","repository":{"id":60187255,"uuid":"541209064","full_name":"MathisBurger/surrealdb.php","owner":"MathisBurger","description":"Database driver for surrealdb and php","archived":false,"fork":false,"pushed_at":"2022-09-26T12:12:09.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T02:21:56.682Z","etag":null,"topics":["database-driver","php","surrealdb","surrealdb-driver"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/mathisburger/surrealdb","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/MathisBurger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-25T15:03:09.000Z","updated_at":"2024-03-25T19:46:28.000Z","dependencies_parsed_at":"2022-09-26T13:10:20.898Z","dependency_job_id":null,"html_url":"https://github.com/MathisBurger/surrealdb.php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathisBurger%2Fsurrealdb.php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathisBurger%2Fsurrealdb.php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathisBurger%2Fsurrealdb.php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathisBurger%2Fsurrealdb.php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MathisBurger","download_url":"https://codeload.github.com/MathisBurger/surrealdb.php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252758060,"owners_count":21799775,"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":["database-driver","php","surrealdb","surrealdb-driver"],"created_at":"2024-10-03T14:03:23.059Z","updated_at":"2026-03-03T17:33:12.594Z","avatar_url":"https://github.com/MathisBurger.png","language":"PHP","readme":"# SurrealDb.php\n\nSurrealDb.php is a driver written in php for the surrealDb database. It supports some \nbasic features that can be used to perform actions on the database.\nIt uses the websocket API of the database.\n\n# Installation\n\nInstallation is quite easy with\n```shell\ncomposer require mathisburger/surrealdb\n```\n\n# Usage\n\nJust require the package via composer and follow the following guide how to create\na new entry in the database:\n\n```php\n\n// Only needed for plain PHP scripts that do not use a framework like symfony\ninclude './vendor/autoload.php';\n\nuse MathisBurger\\SurrealDb\\SurrealDriver;\n\n$conn = new SurrealDriver('ws://127.0.0.1:8000/rpc');\n$conn-\u003elogin('root', 'root');\n$conn-\u003euseDatabase('test', 'test');\n$conn-\u003ecreate('user', ['username' =\u003e 'Mathis', 'password' =\u003e 'Test']);\n```\n\n# License \n\nThis project is MIT licensed.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathisburger%2Fsurrealdb.php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathisburger%2Fsurrealdb.php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathisburger%2Fsurrealdb.php/lists"}