{"id":15978133,"url":"https://github.com/shusaura85/mythdb","last_synced_at":"2026-02-13T22:06:22.653Z","repository":{"id":257808510,"uuid":"867140421","full_name":"shusaura85/mythdb","owner":"shusaura85","description":"Simple database abstraction layer for PHP","archived":false,"fork":false,"pushed_at":"2025-01-04T15:30:17.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-17T11:35:33.206Z","etag":null,"topics":["database","database-abstraction-layer","mysql","php","php-library","postgresql","sqlite3"],"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/shusaura85.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","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":"2024-10-03T14:18:01.000Z","updated_at":"2025-01-04T15:30:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f96a6db-1795-4f0c-be58-6eec0670e5db","html_url":"https://github.com/shusaura85/mythdb","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"116263c05d7a1b9c8b1ccd48a3ded818962ca715"},"previous_names":["shusaura85/mythdb"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/shusaura85/mythdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shusaura85%2Fmythdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shusaura85%2Fmythdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shusaura85%2Fmythdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shusaura85%2Fmythdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shusaura85","download_url":"https://codeload.github.com/shusaura85/mythdb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shusaura85%2Fmythdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270922511,"owners_count":24668565,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["database","database-abstraction-layer","mysql","php","php-library","postgresql","sqlite3"],"created_at":"2024-10-07T23:05:57.793Z","updated_at":"2026-02-13T22:06:17.626Z","avatar_url":"https://github.com/shusaura85.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"MythDB\n=========\n\nBy Shu Saura\n\n[MythDB](https://github.com/shusaura85/mythdb) is a simple database abstraction layer for PHP providing a consistent interface for multiple database drivers.\n\nSupported databases\n--------\n* mySQL and MariaDB\n* PostreSQL\n* SQLite3\n\n\nInstallation\n--------------------\n\n* Using **Composer**\n\n    ``` shell\n    composer require shusaura85/mythdb\n    ```\n* Manually\n\n    ``` php\n    require '/path/to/src/autoload.php'\n    ```\n\n\nUsage\n--------------------\n\n``` php\nrequire 'vendor/autoload.php'; // or '/path/to/src/autoload.php'  \n\n$db_driver = 'mysqli'; // available drivers: mysqli, pgsql, sqlite3  \n$db_persistent = false; // set to true to use a persistent connection  \n$db_utf8names = 'UTF8'; // if set, automatically calls query \"SET NAMES \u003cvalue\u003e\". not supported in sqlite  \n$db = new \\MythDB\\Database($db_driver, 'host', 'username', 'password', 'database', $db_persistent, $db_utf8names);\n```\n\n\n\n\nRequirements\n-------------\nMythDB requires at least `PHP 8.1` to work. MythDB only depends on the internal PHP modules for database connection (mysqli / postresql / sqlite3).\n\n\nLicence\n-------\n\nMythDB is published under the MIT Licence, see `LICENSE` file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshusaura85%2Fmythdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshusaura85%2Fmythdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshusaura85%2Fmythdb/lists"}