Top "Symfony4" questions

Symfony is a PHP framework developed by SensioLabs.

Symfony 4 handling null DateType form field

I have a form in Symfony 4 where I implement the DateType as a text field ->add('DateOfBirth', DateType::…

forms symfony4
symfony 4: An exception occurred in driver: could not find driver

Working with Doctrine DBAL in Symfony 4 with the following conofiguration (doctrine.yaml): dbal: # configure these for your database server driver: …

symfony doctrine symfony4 dbal
Symfony 4 is painfully slow in DEV

I try to run a simple Symfony 4 project on a docker container. I have tested regular PHP scripts, and they …

php symfony docker symfony4
Symfony 4 - The autoloader expected class […] to be defined in file

I'm trying to add an old Bundle that I have built on Symfony 3.* to Symfony 4 but I get this error: …

php autoload symfony4
Symfony 4 global route prefix

I can't find any info about the global route prefix in a Symfony 4 application. The only thing I've found is …

php symfony symfony-routing symfony4
Symfony 4 bundles working

How can I create library bundle on Symfony 4? In Symfony 3 I use this command: php bin/console generate:bundle but …

symfony bundle symfony4
How to configure Doctrine to use yaml mapping on Symfony 4

I'm new to Symfony 4 I use Doctrine an I want to use yaml entity mapping. So i configured the file …

symfony doctrine-orm mapping yaml symfony4
Migrate to symfony 4 from symfony 3.4

My project is currently setup with 3.4 version of symfony. I want to move to symfony4. So I moved to symfony4 …

php symfony migration symfony4 symfony-3.4
Syntax error or access violation: 1064 You have an error in your SQL In symfony

When i run comand php bin/console doctrine:migration:migrate i got this error I don't know where is come …

symfony symfony4 doctrine-migrations
Symfony demo app install fails - pdo_sqlite missing

I am trying to use the Symfony 4 demo application https://github.com/symfony/demo but when I install it with …

composer-php symfony4 phpbrew