{"id":17304396,"url":"https://github.com/viest/php-foundationdb","last_synced_at":"2025-07-29T21:39:39.956Z","repository":{"id":58939567,"uuid":"131950954","full_name":"viest/PHP-FoundationDB","owner":"viest","description":"PHP FoundationDB Drive","archived":false,"fork":false,"pushed_at":"2020-06-23T15:12:07.000Z","size":37,"stargazers_count":37,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-16T11:52:56.335Z","etag":null,"topics":["extension","foundationdb","php","php7"],"latest_commit_sha":null,"homepage":"","language":"C","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/viest.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":"2018-05-03T06:24:48.000Z","updated_at":"2024-02-15T07:41:03.000Z","dependencies_parsed_at":"2022-09-09T16:01:41.522Z","dependency_job_id":null,"html_url":"https://github.com/viest/PHP-FoundationDB","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viest%2FPHP-FoundationDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viest%2FPHP-FoundationDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viest%2FPHP-FoundationDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viest%2FPHP-FoundationDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viest","download_url":"https://codeload.github.com/viest/PHP-FoundationDB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221832468,"owners_count":16888256,"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":["extension","foundationdb","php","php7"],"created_at":"2024-10-15T11:52:58.840Z","updated_at":"2024-10-28T13:34:57.932Z","avatar_url":"https://github.com/viest.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP-FoundationDB\n\n[![Build Status](https://travis-ci.org/viest/PHP-FoundationDB.svg?branch=master)](https://travis-ci.org/viest/PHP-FoundationDB)\n\nFoundationDB is a distributed database designed to handle large volumes of structured data across clusters of commodity servers. It organizes data as an ordered key-value store and employs ACID transactions for all operations. It is especially well-suited for read/write workloads but also has excellent performance for write-intensive workloads.\n\n### Open Database\n\n```php\n$foundationClient = new \\Foundation\\Client();\n\n$database = $foundationClient\n    -\u003econnection('/usr/local/etc/foundationdb/fdb.cluster')\n    -\u003edatabase('DB');\n```\n\n### Insert\n\n#### Grammar\n\n```php\nbool set(string $key, string $value);\n```\n\n#### Example\n\n```php\n$database-\u003eset('viest', json_encode([\n    'name' =\u003e 'JiexinWang',\n    'age' =\u003e 22\n]));\n```\n\n### Find\n\n#### Grammar\n\n```php\nstring get(string $key);\n```\n\n#### Example\n\n```php\n$user = $database-\u003eget('viest');\n```\n\n### Delete\n\n#### Grammar\n\n```php\nbool clear(string $key);\n```\n\n#### Example\n\n```php\n$database-\u003eclear('viest')\n```\n\n### Range\n\n#### Grammar\n\n```php\narray range(int $startIndex, int $endIndex);\n```\n\n#### Example\n\n```php\n$rangeArray = $database-\u003erange(0, 2);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviest%2Fphp-foundationdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviest%2Fphp-foundationdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviest%2Fphp-foundationdb/lists"}