# DbUnit [PHPUnit](https://phpunit.de/) extension for database interaction testing. ## Installation ### Composer If you use [Composer](https://getcomposer.org/) to manage the dependencies of your project then you can add DbUnit as a development-time dependency to your project: ``` $ composer require --dev phpunit/dbunit ``` ### PHP Archive (PHAR) You can download a PHAR of DbUnit: ``` $ wget https://phar.phpunit.de/dbunit.phar ``` The example below shows how to configure PHPUnit to load all `*.phar` files found in a given directory (`tools/phpunit.d` in this example): ```xml ```