{"id":13530836,"url":"https://github.com/corley/dbal-influxdb","last_synced_at":"2026-01-13T23:44:02.181Z","repository":{"id":34405413,"uuid":"38334123","full_name":"corley/dbal-influxdb","owner":"corley","description":"Doctrine DBAL for influxDB","archived":false,"fork":false,"pushed_at":"2015-07-01T19:05:09.000Z","size":168,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T19:36:19.889Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/corley.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":"2015-06-30T21:30:40.000Z","updated_at":"2023-08-21T09:44:44.000Z","dependencies_parsed_at":"2022-08-03T20:45:20.733Z","dependency_job_id":null,"html_url":"https://github.com/corley/dbal-influxdb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/corley/dbal-influxdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corley%2Fdbal-influxdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corley%2Fdbal-influxdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corley%2Fdbal-influxdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corley%2Fdbal-influxdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corley","download_url":"https://codeload.github.com/corley/dbal-influxdb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corley%2Fdbal-influxdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-08-01T07:00:56.142Z","updated_at":"2026-01-13T23:44:02.165Z","avatar_url":"https://github.com/corley.png","language":"PHP","funding_links":[],"categories":["Queries"],"sub_categories":["Other tools"],"readme":"# Doctrine DBAL for InfluxDB\n\n[![Circle CI](https://circleci.com/gh/corley/dbal-influxdb/tree/master.svg?style=svg)](https://circleci.com/gh/corley/dbal-influxdb/tree/master)\n[![Code Coverage](https://scrutinizer-ci.com/g/corley/dbal-influxdb/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/corley/dbal-influxdb/?branch=master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/corley/dbal-influxdb/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/corley/dbal-influxdb/?branch=master)\n\nInfluxDB driver for Doctrine DBAL (Abstraction Layer)\n\n## Query builder\n\n```php\n$qb = $conn-\u003ecreateQueryBuilder();\n\n$qb-\u003eselect(\"*\")\n    -\u003efrom(\"cpu_load_short\")\n    -\u003ewhere(\"time = ?\")\n    -\u003esetParameter(0, 1434055562000000000);\n\n$data = $qb-\u003eexecute();\nforeach ($data-\u003efetchAll() as $element) {\n    // Use your element\n}\n```\n\n## Create a connection\n\n```php\n$config = new \\Doctrine\\DBAL\\Configuration();\n//..\n$connectionParams = array(\n    'dbname' =\u003e 'mydb',\n    'user' =\u003e 'root',\n    'password' =\u003e 'root',\n    'host' =\u003e 'localhost',\n    'port' =\u003e 8086,\n    \"driverClass\" =\u003e \"Corley\\\\DBAL\\\\Driver\\\\InfluxDB\",\n);\n$conn = \\Doctrine\\DBAL\\DriverManager::getConnection($connectionParams, $config);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorley%2Fdbal-influxdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorley%2Fdbal-influxdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorley%2Fdbal-influxdb/lists"}