{"id":15561175,"url":"https://github.com/ricci69/ultimatemysql","last_synced_at":"2025-04-23T21:48:42.294Z","repository":{"id":62593587,"uuid":"557898618","full_name":"ricci69/ultimatemysql","owner":"ricci69","description":"MySQL database access wrapper compatible with PHP 8","archived":false,"fork":false,"pushed_at":"2024-01-28T14:43:45.000Z","size":330,"stargazers_count":3,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T21:48:36.257Z","etag":null,"topics":["database","mysql","php"],"latest_commit_sha":null,"homepage":"https://ricci69.github.io/ultimatemysql/","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/ricci69.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2022-10-26T14:09:11.000Z","updated_at":"2024-03-27T19:05:18.000Z","dependencies_parsed_at":"2023-02-08T09:31:43.444Z","dependency_job_id":"59d4bdaa-9ac3-4b48-9ef6-04dbad72d7b1","html_url":"https://github.com/ricci69/ultimatemysql","commit_stats":{"total_commits":90,"total_committers":2,"mean_commits":45.0,"dds":"0.011111111111111072","last_synced_commit":"335231f8dc7149d469e437e2bcbeb1967e8f5bfa"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricci69%2Fultimatemysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricci69%2Fultimatemysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricci69%2Fultimatemysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricci69%2Fultimatemysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricci69","download_url":"https://codeload.github.com/ricci69/ultimatemysql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250522294,"owners_count":21444510,"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":["database","mysql","php"],"created_at":"2024-10-02T16:05:53.785Z","updated_at":"2025-04-23T21:48:42.276Z","avatar_url":"https://github.com/ricci69.png","language":"PHP","funding_links":["https://ko-fi.com/P5P5FY846"],"categories":[],"sub_categories":[],"readme":"# ultimatemysql\nMySQL database access wrapper compatible with PHP 8\n\nBased on the excellent work of Jeff Williams\nhttps://www.phpclasses.org/package/3698-PHP-MySQL-database-access-wrapper.html\n\n### Why this repository\nDespite it is being used by fortune 500 companies [[source](https://www.phpclasses.org/discuss/package/3698/thread/72/)], the script isn't update since 16/08/2013 (almost 10 years!), so i thinked to create this repository with the aim of making it compatible with PHP 8, and being able to use it for another 10 years (i hope!).\n\n## How to get started\nIt's a very simple database access wrapper, well documented and safe against SQL injection hacks!\n\nYou can start with only 3 lines!\n\n### PHP Library\n```php\n\u003c?php\ninclude(\"mysql.class.php\");\n$db = new MySQL(true, \"testdb\", \"localhost\", \"root\", \"password\");\n$res = $db-\u003eQueryArray(\"SELECT * FROM Test\");\n?\u003e\n```\n\n### Composer package\n...OR if you want to include it as a composer package, just type:\n```shell\ncomposer require ricci69/ultimatemysql\n```\nand after use the following PHP code\n```php\n\u003c?php\nrequire 'vendor/autoload.php';\n$db = new MySQL(true, \"testdb\", \"localhost\", \"root\", \"password\");\n$res = $db-\u003eQueryArray(\"SELECT * FROM Test\");\n?\u003e\n```\n\n### Debug mode\nThe script looks for a file called ```.debugmysql``` (within the root directory or within the composer's vendor / module folder) and, if found, enters debug mode.\n\nWhen debug mode is active, it writes all SQL queries executed inside the ```.debugmysql``` file.\n\n## How it work and examples\nCheck the \"examples\" directory to learn how it works, or read the very good documentation on https://ricci69.github.io/ultimatemysql\n\n\n## Contributions\nFeel free to contribute to this project adding more feature or fixing issues, but before submitting a pull request, make sure your code passes all unit tests (refer to the [/tests/coverage.md](/tests/coverage.md) document)\n\n\n## Support this / me\nIf you liked this work, and you haven't wasted hours of work with this repository, you can think about supporting me with Ko-fi\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/P5P5FY846)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricci69%2Fultimatemysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricci69%2Fultimatemysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricci69%2Fultimatemysql/lists"}