dg/mysql-check (packagist): Checks a MySQL database for orphaned records or invalid foreign keys, i.e., keys pointing to missing rows.
Keywords: mysql|invalid-foreign-keys|mysql-database|php