'FOS\\UserBundle\\FOSUserBundle' not found

只愿长相守 提交于 2019-12-07 23:40:29

Symfony relies on Composers autoloader to make all of the "required" vendors available. IF you havent done so already add the following to your composer.json file:

"require": {
    "friendsofsymfony/user-bundle": "~2.0@dev"
    ...
}

Then run the following command from your project root(assuming you are using the composer.phar):

php composer.phar install

Doing this will update the autoloader used and should allow you to use the the FOSUserBundle in your application.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!