Use composer to install the provider
composer require happensit/doctrine
Register the service provider on your app:
$app->register(new Happensit\Doctrine\DoctrineServiceProvider());
Check .env file to root directory application and do change settings database connection