{"id":28450005,"url":"https://github.com/leomaurodesenv/classes-dbms-php","last_synced_at":"2026-06-23T17:32:13.007Z","repository":{"id":93987509,"uuid":"63875464","full_name":"leomaurodesenv/classes-dbms-php","owner":"leomaurodesenv","description":"This package connect and prepare queries for Database Management System","archived":false,"fork":false,"pushed_at":"2019-02-09T20:29:58.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-07T17:54:25.386Z","etag":null,"topics":["database","database-management","dbms","mysqli","pdo","php","sgbd"],"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/leomaurodesenv.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-07-21T14:17:30.000Z","updated_at":"2019-02-09T20:29:59.000Z","dependencies_parsed_at":"2023-03-19T02:06:27.157Z","dependency_job_id":null,"html_url":"https://github.com/leomaurodesenv/classes-dbms-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/leomaurodesenv/classes-dbms-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leomaurodesenv%2Fclasses-dbms-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leomaurodesenv%2Fclasses-dbms-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leomaurodesenv%2Fclasses-dbms-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leomaurodesenv%2Fclasses-dbms-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leomaurodesenv","download_url":"https://codeload.github.com/leomaurodesenv/classes-dbms-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leomaurodesenv%2Fclasses-dbms-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34700906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"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-management","dbms","mysqli","pdo","php","sgbd"],"created_at":"2025-06-06T14:40:14.687Z","updated_at":"2026-06-23T17:32:13.002Z","avatar_url":"https://github.com/leomaurodesenv.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connection Instruction #\n   \nThis package have classes to connection and queries for Database Management System (DBMS [or SGBD, in Portuguese]).   \nCurrently it can connect to a database using MySQLi or PDO extension and execute several types of queries from parameters that define tables, fields, values and conditions.   \n   \n#### Folder:    \n* /php/connection/MysqliInstruction.php `MysqliInstruction()`\n* /php/connection/PDOInstruction.php `PDOInstruction()`\n   \n## Example  \t\n\n#### MysqliInstruction()   \n```php\n/* Autoload Include */\nuse \\Connection\\MysqliInstruction;\n\n$mysqli = new MysqliInstruction();\n$mysqli-\u003econnect();\n$resp = $mysqli-\u003eselect('SELECT * FROM table WHERE id \u003c ?', array('10'));\n$resp = $mysqli-\u003egeneric('DELETE FROM table WHERE id = ?', array('2'));\nvar_dump($resp);\n$mysqli-\u003eend();\n```\n   \n#### PDOInstruction()   \n```php\n/* Autoload Include */\nuse \\Connection\\PDOInstruction;\n\n$pdo = new PDOInstruction();\n$pdo-\u003econnect();\n$resp = $pdo-\u003eselect('SELECT * FROM table WHERE id \u003c ?', array('10'));\n$resp = $pdo-\u003egeneric('DELETE FROM table WHERE id = ?', array('2'));\nvar_dump($resp);\n$pdo-\u003eend();\n```\n   \n## Also look ~  \t\n- [License MIT](LICENSE)\n- Create by Leonardo Mauro (leo.mauro.desenv@gmail.com)\n- Git: [leomaurodesenv](https://github.com/leomaurodesenv/)\n- Site: [Portfolio](http://leonardomauro.com/portfolio/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleomaurodesenv%2Fclasses-dbms-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleomaurodesenv%2Fclasses-dbms-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleomaurodesenv%2Fclasses-dbms-php/lists"}