PHPUnit extension for database interaction testing.
If you use Composer to manage the dependencies of your project then you can add DbUnit as a development-time dependency to your project:
$ composer require --dev misantron/dbunit
DbUnit fork supporting PHPUnit 8/9/10.