{"id":14972194,"url":"https://github.com/dg/mysql-check","last_synced_at":"2025-10-26T18:31:39.587Z","repository":{"id":9089510,"uuid":"10865975","full_name":"dg/MySQL-check","owner":"dg","description":"Checks a MySQL database for invalid foreign keys, i.e., a keys pointing to missing rows.","archived":false,"fork":false,"pushed_at":"2020-05-11T22:47:18.000Z","size":3,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-31T22:11:41.435Z","etag":null,"topics":["invalid-foreign-keys","mysql-database","php"],"latest_commit_sha":null,"homepage":"https://nette.org","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dg.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"dg","custom":"https://nette.org/make-donation?to=mysql-check"}},"created_at":"2013-06-22T14:03:24.000Z","updated_at":"2023-12-07T16:03:46.000Z","dependencies_parsed_at":"2022-07-21T12:03:42.828Z","dependency_job_id":null,"html_url":"https://github.com/dg/MySQL-check","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dg%2FMySQL-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dg%2FMySQL-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dg%2FMySQL-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dg%2FMySQL-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dg","download_url":"https://codeload.github.com/dg/MySQL-check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238386094,"owners_count":19463295,"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":["invalid-foreign-keys","mysql-database","php"],"created_at":"2024-09-24T13:46:31.490Z","updated_at":"2025-10-26T18:31:39.201Z","avatar_url":"https://github.com/dg.png","language":"PHP","funding_links":["https://github.com/sponsors/dg","https://nette.org/make-donation?to=mysql-check"],"categories":[],"sub_categories":[],"readme":"MySQLChecker\n============\n\nChecks a MySQL database for orphaned records or invalid foreign keys, i.e., keys pointing to missing rows.\n\nCreate [MySQLi](http://www.php.net/manual/en/mysqli.construct.php) object and then check database named `blog`:\n\n\t$mysqli = new mysqli('localhost', 'root', 'password');\n\tcheckForeignKeys($mysqli, 'blog');\n\nOr without parameter it checks all databases:\n\n\tcheckForeignKeys($mysqli);\n\nIf you like it, **[please make a donation now](https://nette.org/make-donation?to=mysql-check)**. Thank you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdg%2Fmysql-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdg%2Fmysql-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdg%2Fmysql-check/lists"}