{"id":22695618,"url":"https://github.com/tina4stack/tina4php-odbc","last_synced_at":"2026-03-14T22:19:21.630Z","repository":{"id":57070042,"uuid":"419643845","full_name":"tina4stack/tina4php-odbc","owner":"tina4stack","description":"ODBC database drivers for Tina4PHP","archived":false,"fork":false,"pushed_at":"2023-06-15T09:01:14.000Z","size":114,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-04T18:50:47.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tina4stack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-10-21T08:35:48.000Z","updated_at":"2022-03-15T16:09:34.000Z","dependencies_parsed_at":"2025-02-04T18:49:09.318Z","dependency_job_id":"d247b849-0441-4bf9-8180-4f422b64877f","html_url":"https://github.com/tina4stack/tina4php-odbc","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tina4stack%2Ftina4php-odbc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tina4stack%2Ftina4php-odbc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tina4stack%2Ftina4php-odbc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tina4stack%2Ftina4php-odbc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tina4stack","download_url":"https://codeload.github.com/tina4stack/tina4php-odbc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246223266,"owners_count":20743158,"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":[],"created_at":"2024-12-10T04:11:16.045Z","updated_at":"2026-03-14T22:19:21.624Z","avatar_url":"https://github.com/tina4stack.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tina4php-odbc\n\nODBC database driver for the Tina4 PHP framework.\n\n## Installation\n\n```bash\ncomposer require tina4stack/tina4php-odbc\n```\n\n## Requirements\n\n- PHP \u003e= 8.1\n- ext-odbc\n- tina4stack/tina4php-database ^2.0\n\n## Usage\n\n```php\n// Connection format: DSN name, username, password\n$DBA = new \\Tina4\\DataODBC(\"DSN_NAME\", \"username\", \"password\");\n\n// Execute queries\n$DBA-\u003eexec(\"create table users (id integer primary key, name varchar(200))\");\n$DBA-\u003ecommit();\n\n// Insert with parameters\n$DBA-\u003eexec(\"insert into users (id, name) values (?, ?)\", 1, \"Alice\");\n\n// Fetch records\n$result = $DBA-\u003efetch(\"select * from users\");\n$records = $result-\u003easArray();\n\n// Fetch with limit and offset\n$result = $DBA-\u003efetch(\"select * from users\", 10, 0);\n\n// Fetch single record\n$record = $DBA-\u003efetchOne(\"select * from users where id = 1\");\n\n// Check if table exists\n$exists = $DBA-\u003etableExists(\"users\");\n\n// Get database metadata\n$metadata = $DBA-\u003egetDatabase();\n```\n\n## Testing\n\n```bash\ndocker compose up -d\ncomposer test\n```\n\n## License\n\nMIT - see [LICENSE](LICENSE)\n\n---\n\n## Our Sponsors\n\n**Sponsored with 🩵 by Code Infinity**\n\n[\u003cimg src=\"https://codeinfinity.co.za/wp-content/uploads/2025/09/c8e-logo-github.png\" alt=\"Code Infinity\" width=\"100\"\u003e](https://codeinfinity.co.za/about-open-source-policy?utm_source=github\u0026utm_medium=website\u0026utm_campaign=opensource_campaign\u0026utm_id=opensource)\n\n*Supporting open source communities \u003cspan style=\"color: #1DC7DE;\"\u003e•\u003c/span\u003e Innovate \u003cspan style=\"color: #1DC7DE;\"\u003e•\u003c/span\u003e Code \u003cspan style=\"color: #1DC7DE;\"\u003e•\u003c/span\u003e Empower*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftina4stack%2Ftina4php-odbc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftina4stack%2Ftina4php-odbc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftina4stack%2Ftina4php-odbc/lists"}