Have you already included Doctrine\DBAL into your project
composer require doctrine/dbal
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I was wondering if someone could help me. I'm pretty new to laravel.
I'm trying to run the first migration since I setup my database and am getting the following error
[Symfony\Component\Debug\Exception\FatalErrorException] Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found
The original migrations when I set up the database worked, I'm running WAMP 2.5
As far as I can see my database.php file is ok
Have you already included Doctrine\DBAL into your project
composer require doctrine/dbal
Please or to participate in this conversation.