{"id":19124678,"url":"https://github.com/duncan3dc/sql","last_synced_at":"2026-04-18T01:32:52.933Z","repository":{"id":56973240,"uuid":"83362446","full_name":"duncan3dc/sql","owner":"duncan3dc","description":"A simple database abstraction layer for PHP, with an on disk caching facility","archived":false,"fork":false,"pushed_at":"2017-08-20T22:18:20.000Z","size":85,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T13:58:27.224Z","etag":null,"topics":["mssql","mysql","odbc","php","sql"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duncan3dc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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":"2017-02-27T22:14:50.000Z","updated_at":"2022-09-11T11:47:02.000Z","dependencies_parsed_at":"2022-08-21T07:10:29.648Z","dependency_job_id":null,"html_url":"https://github.com/duncan3dc/sql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/duncan3dc/sql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fsql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fsql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fsql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fsql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duncan3dc","download_url":"https://codeload.github.com/duncan3dc/sql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fsql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"ssl_error","status_checked_at":"2026-04-18T00:39:20.671Z","response_time":62,"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":["mssql","mysql","odbc","php","sql"],"created_at":"2024-11-09T05:29:52.231Z","updated_at":"2026-04-18T01:32:52.915Z","avatar_url":"https://github.com/duncan3dc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sql\nA simple database abstraction layer for PHP, with an on disk caching facility\n\nFull documentation is available at http://duncan3dc.github.io/sql/  \nPHPDoc API documentation is also available at [http://duncan3dc.github.io/sql/api/](http://duncan3dc.github.io/sql/api/namespaces/duncan3dc.Laravel.html)  \n\n[![Latest Stable Version](https://poser.pugx.org/duncan3dc/sql/version.svg)](https://packagist.org/packages/duncan3dc/sql)\n[![Build Status](https://travis-ci.org/duncan3dc/sql.svg?branch=master)](https://travis-ci.org/duncan3dc/sql)\n[![Coverage Status](https://coveralls.io/repos/github/duncan3dc/sql/badge.svg)](https://coveralls.io/github/duncan3dc/sql)\n\n\n## Installation\n\nThe recommended method of installing this library is via [Composer](//getcomposer.org/).\n\nRun the following command from your project root:\n\n```bash\n$ composer require duncan3dc/sql\n```\n\n\n## Getting Started\n\n```php\nuse duncan3dc\\Sql\\Sql;\nuse duncan3dc\\Sql\\Drivers\\Mysql\\Server;\n\nrequire __DIR__ . \"/vendor/autoload.php\";\n\n$sql = new Sql(new Server($hostname, $username, $password));\n\n$row = $sql-\u003eselect(\"table\", [\n    \"field1\"    =\u003e  \"value1\",\n]);\nprint_r($row);\n```\n\n_Read more at http://duncan3dc.github.io/sql/_  \n\n\n## Changelog\nA [Changelog](CHANGELOG.md) has been available since the beginning of time\n\n\n## Where to get help\nFound a bug? Got a question? Just not sure how something works?  \nPlease [create an issue](//github.com/duncan3dc/sql/issues) and I'll do my best to help out.  \nAlternatively you can catch me on [Twitter](https://twitter.com/duncan3dc)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncan3dc%2Fsql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduncan3dc%2Fsql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncan3dc%2Fsql/lists"}