{"id":15066758,"url":"https://github.com/grizz-it/dbal","last_synced_at":"2026-02-12T09:03:18.897Z","repository":{"id":62512751,"uuid":"354288736","full_name":"grizz-it/dbal","owner":"grizz-it","description":"Database abstraction layer","archived":false,"fork":false,"pushed_at":"2021-04-03T12:41:56.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-11T17:59:43.985Z","etag":null,"topics":["databases","dbal","mysql","php"],"latest_commit_sha":null,"homepage":"","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/grizz-it.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-03T12:40:09.000Z","updated_at":"2021-04-03T14:56:20.000Z","dependencies_parsed_at":"2022-11-02T12:47:26.566Z","dependency_job_id":null,"html_url":"https://github.com/grizz-it/dbal","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/grizz-it/dbal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grizz-it%2Fdbal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grizz-it%2Fdbal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grizz-it%2Fdbal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grizz-it%2Fdbal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grizz-it","download_url":"https://codeload.github.com/grizz-it/dbal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grizz-it%2Fdbal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29362205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: 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":["databases","dbal","mysql","php"],"created_at":"2024-09-25T01:11:40.902Z","updated_at":"2026-02-12T09:03:18.865Z","avatar_url":"https://github.com/grizz-it.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/grizz-it/dbal.svg?branch=master)](https://travis-ci.com/grizz-it/dbal)\n\n# GrizzIT DBAL\n\nGrizzIT DBAL contains the interfaces required for a database integration.\nIt contains the minimal interfaces required for a connection and queries.\nThe implementations of packages are separated by connection packages and query packages.\n\n## Installation\n\nTo install the package run the following command:\n\n```\ncomposer require grizz-it/dbal\n```\n\n## Usage\n\n### GrizzIt\\Dbal\\Common\\ConnectionInterface\n\nThe `ConnectionInterface` can be used to create an implementation to establish\na connection with a database.\n\n### GrizzIt\\Dbal\\Common\\FilterableQueryInterface\n\nThe `FilterableQueryInterface` is a partial interface.\nIt tags a query that it is filterable (for example in SQL a `WHERE` statement)\nand adds the abstract function.\nIt accepts the addition of multiple `QueryFilterGroupInterface` and should join\nthem on an `AND` basis.\n\n### GrizzIt\\Dbal\\Common\\JoinableQueryInterface\n\nThe `JoinableQueryInterface` is a partial interface.\nIt tags a query that it allows join operations and adds the abstract functions.\n\n### GrizzIt\\Dbal\\Common\\PageableQueryInterface\n\nThe `PageableQueryInterface` is a partial interface.\nIt tags a query that it allows the use of limiters and paging and adds the abstract functions.\n\n### GrizzIt\\Dbal\\Common\\ParameterizedQueryComponentInterface\n\nThe `ParameterizedQueryComponentInterface` is a partial interface.\nIt tags a query that it allows the use of prepared statements and adds the abstract function.\n\n### GrizzIt\\Dbal\\Common\\QueryFilterGroupInterface\n\nThe `QueryFilterGroupInterface` is a filter grouping interface.\nIt accepts multiple `QueryFilterInterface` and should join them on an `OR` basis.\n\n### GrizzIt\\Dbal\\Common\\QueryFilterInterface\n\nThe `QueryFilterInterface` is the interface that contains the individual filter.\n\n### GrizzIt\\Dbal\\Common\\QueryInterface\n\nThe `QueryInterface` is the interface that adds the abstract function required\nto export a query from the object.\n\n### GrizzIt\\Dbal\\Common\\QueryResultInterface\n\nThe `QueryResultInterface` is the interface that should be the result of an executed query.\n\n### GrizzIt\\Dbal\\Common\\SortableQueryInterface\n\nThe `SortableQueryInterface` is a partial interface.\nIt tags a query that is allows the use of sorting and adds the abstract function.\n\n### GrizzIt\\Dbal\\Common\\Enum\\JoinTypeEnum\n\nThe `JoinTypeEnum` is an enum object that defines the different join types.\n\n### GrizzIt\\Dbal\\Common\\Enum\\SortDirectionEnum\n\nThe `SortDirectionEnum` is an enum object that defined the different sorting directions.\n\n## Official implementations\n\nThe following implementations are currently available:\n\n### Connection packages\n\n- [PDO](https://github.com/grizz-it/dbal-pdo)\n\n### Query packages\n\n- [SQL](https://github.com/grizz-it/dbal-sql)\n\n### Query packages\n\n## Change log\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) and [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) for details.\n\n## MIT License\n\nCopyright (c) GrizzIT\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrizz-it%2Fdbal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrizz-it%2Fdbal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrizz-it%2Fdbal/lists"}