Top "Symfony4" questions

Symfony is a PHP framework developed by SensioLabs.

Symfony4 Error loading classes custom folder "Expected to find class... but it was not found"

Problem I'm trying to setup a custom directory structure for some shared classes in my Symfony project. I want to …

php symfony symfony4
Symfony 4 Doctrine not working from console [2002] No such file or directory

I´m working with symfony 4 and this error ocurr when runnning doctrine console commands: In AbstractMySQLDriver.php line 108: An exception …

php symfony doctrine symfony4 symfony-flex
How to enable profiler in symfony 4

Solved: I re-install it all over again and now it contains the web_profiler.yalm inside. Thanks to all. The …

php symfony profiler symfony4
Symfony Flex: What does symfony.lock file do?

After installing symfony/serializer I recognized that my symfony.lock file got changed: diff --git a/symfony.lock b/symfony.…

php symfony symfony4 symfony-flex
Symfony4 Annotation routing does not work

I just started learning Symfony. I am following this official tutorial exactly. Routing works fine when done with config/routes.…

symfony routing annotations symfony4
Annotations don't work in Symfony 4

I try to develop with Symfony 4 so I follow the tutorial on symfony.com I've got an error when I …

php symfony annotations symfony4
The lock file is not up to date with the latest changes in composer.json

I'm trying to clone a github repository and issue a composer install on it. But I am getting this: Warning: …

symfony symfony4 symfony-process composer-php
Using bootstrap with Webpack Encore in Symfony 4

I would like to use bootstrap with Webpack Encore in Symfony 4.1 but bootstrap does not function. In the template/base.…

bootstrap-4 symfony4 webpack-encore
Route is in debug list but returns 404 in Symfony 4

Ok, so I just installed latest version Symfony 4. Run the browser after installation and a nice welcome greeting shows. All …

symfony4 symfony-routing