Please install the doctrine/dbal package. code example Example: doctrine/dbal laravel install composer require doctrine/dbal