Я столкнулся ниже вопрос после загрузки Доктрина DBAL классыдоктрина DBAL Включить Выпуск
use Doctrine\Common\ClassLoader;
require 'vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php';
$classLoader = new ClassLoader('Doctrine', 'vendor/doctrine/dbal/lib/Doctrine');
$classLoader->register();
$config = new \Doctrine\DBAL\Configuration();
Выход:
Фатальная ошибка:
Class 'Doctrine\DBAL\Configuration' not found
В большинстве случаев проще использовать «композитор требует доктрины/dbal» и «require vendor/autoload.php». Классный загрузчик Doctrine несколько обесценился и не нужен. – Cerad