migrate not work

Error

Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found

Solution

  • Change version of “doctrine/dbal” to “^2.0”
    “doctrine/dbal”: “^2.0”,
  • composer update