{"id":19215467,"url":"https://github.com/michabbb/php-crate","last_synced_at":"2026-03-19T08:44:12.885Z","repository":{"id":24157187,"uuid":"27547091","full_name":"michabbb/php-crate","owner":"michabbb","description":"A PHP helper class for working with the crate db","archived":false,"fork":false,"pushed_at":"2022-07-22T12:54:09.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T09:17:08.051Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/michabbb.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":"2014-12-04T15:39:08.000Z","updated_at":"2021-11-16T19:14:59.000Z","dependencies_parsed_at":"2022-07-24T00:16:23.035Z","dependency_job_id":null,"html_url":"https://github.com/michabbb/php-crate","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/michabbb%2Fphp-crate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michabbb%2Fphp-crate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michabbb%2Fphp-crate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michabbb%2Fphp-crate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michabbb","download_url":"https://codeload.github.com/michabbb/php-crate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240289994,"owners_count":19777986,"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":[],"created_at":"2024-11-09T14:13:46.589Z","updated_at":"2025-11-14T02:02:13.680Z","avatar_url":"https://github.com/michabbb.png","language":"PHP","readme":"php-crate\n=========\n\nA PHP helper class for working with the crate db  \nusing a round robin connection pool based on a modified version of [allegro/toper](https://github.com/allegro/toper)\n\nNotice\n-----------\ni use a modified version of [allegro/toper](https://github.com/allegro/toper) where the original\nguzzle response object gets returned\n\nQuick start\n-----------\n\n```php\n$APIURL = \"/_sql?pretty\";\n$POOL   = \"http://127.0.0.1:4200,http://127.0.0.1:4201,http://127.0.0.1:4202\";\n$SQL    = \"select id from test\";\n\n$CRATE = new crate($POOL,$APIURL);\n$result = $CRATE-\u003esql($SQL);\n```\n\nSimple Test\n-----------\n```shell\nvendor/bin/phpunit --bootstrap ./tests/bootstrap.php --colors tests/SelectTest.php --verbose --debug\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichabbb%2Fphp-crate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichabbb%2Fphp-crate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichabbb%2Fphp-crate/lists"}