{"id":36373414,"url":"https://github.com/shinjin/pdo","last_synced_at":"2026-01-11T14:03:20.685Z","repository":{"id":57049463,"uuid":"121484256","full_name":"shinjin/pdo","owner":"shinjin","description":"A PDO wrapper, because the internet needed another PDO wrapper","archived":false,"fork":false,"pushed_at":"2018-04-21T17:23:52.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-21T03:27:01.212Z","etag":null,"topics":["pdo","pdo-wrapper","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/shinjin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-14T07:45:46.000Z","updated_at":"2018-04-21T17:23:53.000Z","dependencies_parsed_at":"2022-08-24T03:40:42.332Z","dependency_job_id":null,"html_url":"https://github.com/shinjin/pdo","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/shinjin/pdo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinjin%2Fpdo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinjin%2Fpdo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinjin%2Fpdo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinjin%2Fpdo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shinjin","download_url":"https://codeload.github.com/shinjin/pdo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinjin%2Fpdo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28306985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T11:18:18.743Z","status":"ssl_error","status_checked_at":"2026-01-11T11:07:56.842Z","response_time":60,"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":["pdo","pdo-wrapper","php"],"created_at":"2026-01-11T14:03:20.619Z","updated_at":"2026-01-11T14:03:20.671Z","avatar_url":"https://github.com/shinjin.png","language":"PHP","readme":"# Pdo\n\n[![Build Status][ico-travis]][link-travis]\n[![Coverage Status][ico-coveralls]][link-coveralls]\n\nA PDO wrapper, because the internet needed another PDO wrapper.\n\nUse shinjin/pdo if you need a thin wrapper that:\n* uses arrays to unpack query values\n* uses prepared statements to execute queries and bulk operations\n* supports upserts (insert or update on duplicate key)\n* supports nested transactions\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require shinjin/pdo\n```\n\n## Usage\n\n``` php\n$connection_parameters = array(\n    'driver'   =\u003e 'mysql',\n    'dbname'   =\u003e 'dbtest',\n    'user'     =\u003e 'shinjin',\n    'password' =\u003e 'awesomepasswd'\n);\n\n$db = new Db($connection_parameters);\n\n$statement  = 'SELECT * FROM guestbook WHERE id = ?';\n$parameters = array(1);\n\n$result = $db-\u003equery($statement, $parameters)-\u003efetchAll();\n```\nSee [Usage](docs/Usage.md) for a complete list of examples.\n\n## Change log\n\nSee [CHANGELOG](CHANGELOG.md).\n\n## Testing\n\n``` bash\n$ composer test\n```\n\n## Contributing\n\nBugfixes and updates to support new db drivers are welcome. Please submit pull requests to [Github][link-github].\n\n## Authors\n\n- [Rick Shin][link-author]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[ico-coveralls]: https://coveralls.io/repos/github/shinjin/pdo/badge.svg\n[ico-travis]: https://img.shields.io/travis/shinjin/pdo/master.svg?style=flat-square\n\n[link-author]: https://github.com/shinjin\n[link-github]: https://github.com/shinjin/pdo\n[link-coveralls]: https://coveralls.io/github/shinjin/pdo\n[link-travis]: https://travis-ci.org/shinjin/pdo\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinjin%2Fpdo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshinjin%2Fpdo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinjin%2Fpdo/lists"}