A
A
Alexander2015-12-22 15:04:15
symfony
Alexander, 2015-12-22 15:04:15

Symfony 2.8 and FosUserBundle compatible?

Installed a clean project on symfony 2.8.
php app/console doctrine - works
composer require friendsofsymfony/user-bundle 1.3" (and 2.dev did too)
php app/console doctrine
Fatal error: Class 'AppKernel' not found in C:\OpenServer\domains\builddocs\app\ console

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BoShurik, 2015-12-22
@CooperIII

In composer.json you need to add

"autoload": {
    "psr-4": { "": "src/" },
    "classmap": [ "app/AppKernel.php", "app/AppCache.php" ]
},

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question