{"id":16264496,"url":"https://github.com/yajra/pdo-via-oci8","last_synced_at":"2025-04-12T22:24:25.279Z","repository":{"id":12140753,"uuid":"14733556","full_name":"yajra/pdo-via-oci8","owner":"yajra","description":"PHP PDO_OCI functions via OCI8 extension","archived":false,"fork":false,"pushed_at":"2024-04-19T03:35:43.000Z","size":386,"stargazers_count":88,"open_issues_count":15,"forks_count":61,"subscribers_count":7,"default_branch":"3.0","last_synced_at":"2024-05-23T05:43:15.660Z","etag":null,"topics":["hacktoberfest","oci8","oracle","pdo","pdo-oci","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yajra.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"yajra","patreon":"yajra","custom":"https://www.paypal.me/yajra"}},"created_at":"2013-11-27T00:47:46.000Z","updated_at":"2024-06-18T11:13:23.466Z","dependencies_parsed_at":"2023-11-30T06:28:19.517Z","dependency_job_id":"af0ce2d2-a1d2-4979-9918-1cae89862af7","html_url":"https://github.com/yajra/pdo-via-oci8","commit_stats":{"total_commits":266,"total_committers":50,"mean_commits":5.32,"dds":0.4473684210526315,"last_synced_commit":"17541fb4df190c7dbb48aa633e9c96c88431ee4d"},"previous_names":[],"tags_count":83,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yajra%2Fpdo-via-oci8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yajra%2Fpdo-via-oci8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yajra%2Fpdo-via-oci8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yajra%2Fpdo-via-oci8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yajra","download_url":"https://codeload.github.com/yajra/pdo-via-oci8/tar.gz/refs/heads/3.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248638651,"owners_count":21137692,"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":["hacktoberfest","oci8","oracle","pdo","pdo-oci","php"],"created_at":"2024-10-10T17:01:21.117Z","updated_at":"2025-04-12T22:24:25.254Z","avatar_url":"https://github.com/yajra.png","language":"PHP","funding_links":["https://github.com/sponsors/yajra","https://patreon.com/yajra","https://www.paypal.me/yajra"],"categories":[],"sub_categories":[],"readme":"# Oracle PDO Userspace Driver for OCI8\n\n## PDO via Oci8\n\n[![Continuous Integration](https://github.com/yajra/pdo-via-oci8/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/yajra/pdo-via-oci8/actions/workflows/continuous-integration.yml)\n[![Latest Stable Version](https://poser.pugx.org/yajra/laravel-pdo-via-oci8/v/stable)](https://packagist.org/packages/yajra/laravel-pdo-via-oci8)\n[![Total Downloads](https://poser.pugx.org/yajra/laravel-pdo-via-oci8/downloads)](https://packagist.org/packages/yajra/laravel-pdo-via-oci8)\n[![Latest Unstable Version](https://poser.pugx.org/yajra/laravel-pdo-via-oci8/v/unstable)](https://packagist.org/packages/yajra/laravel-pdo-via-oci8)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.md)\n\nThe [yajra/pdo-via-oci8](https://github.com/yajra/pdo-via-oci8) package is a simple userspace driver for PDO that uses the tried and\ntested [OCI8](http://php.net/oci8) functions instead of using the still experimental and not all that functional.\n[PDO_OCI](http://www.php.net/manual/en/ref.pdo-oci.php) library.\n\n**Please report any bugs you may find.**\n\n- [Installation](#installation)\n- [Credits](#credits)\n\n## Installation\n\nAdd `yajra/laravel-pdo-via-oci8` as a requirement to composer.json:\n\n```json\n{\n    \"require\": {\n        \"yajra/laravel-pdo-via-oci8\": \"2.*\"\n    }\n}\n```\nAnd then run `composer update`\n\n## PHP 8 Support\n\nWhen using PHP 8, please use version 3: `\"yajra/laravel-pdo-via-oci8\": \"3.*\"`.\n\n## Testing\n\nThere is a test suite (using `PHPUnit` with a version bigger than 6.x) on the `test` directory. If you want to\ntest (you must test your code!), create a table called `people` with two\ncolumns:\n\n1. `name` as `varchar2(50)`\n2. `email` as `varchar2(30)`\n\nAnd some environment variables:\n\n1. `OCI_USER` with the database user name\n2. `OCI_PWD` with the database password\n3. `OCI_STR` with the database connection string\n\nAnd then go to the `test` dir and run `PHPUnit` like:\n\n```\nphpunit --colors .\n```\nExample to get it up and running on docker DB container-registry.oracle.com/database/enterprise:12.2.0.1\n\n    create pluggable database testpdb admin user oracle identified by system file_name_convert = ('/pdbseed/', '/testpdb01/');\n    alter pluggable database testpdb open;\n\n    ALTER SESSION SET CONTAINER=testpdb;\n\n    CREATE TABLE person (name NVARCHAR2(50), email NVARCHAR2(30));\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n## Credits\n\n- [crazycodr/pdo-via-oci8](https://github.com/crazycodr/pdo-via-oci8)\n- [ramsey/pdo_oci8](https://github.com/ramsey/pdo_oci8)\n- To all contributors of this project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyajra%2Fpdo-via-oci8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyajra%2Fpdo-via-oci8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyajra%2Fpdo-via-oci8/lists"}