Coding blog

Symfony is not a valid entity or mapped super class.

Define the real entity: * @ORM\Entity For example Before : <?php namespace BookingBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Table(name=”booking”) */ class Booking { After

phpMyAdmin not found after installation

I share with you the solution : Create a link /var/www sudo ln -s /usr/share/phpmyadmin /var/www/ sudo nano /etc/apache2/apache2.conf Then add the following line :

Symfony3 ClassNotFoundException after bundle creation

Il faut impérativement ajouter son bundle dans le fichier composer.json comme ceci par exemple   “autoload”: { “psr-4”: { “AppBundle\\”: “src/AppBundle”, “Acme\\Bundle\\BlogBundle\\”: “src/Acme/Bundle/BlogBundle”, “BlogBundle\\”: “src/BlogBundle”,

Console Command Symfony 3

Create a database php bin/console doctrine:database:create Update database php app/console doctrine:schema:update –force Create a bundle php bien/console generate:bundle Create a entity php bin/console generate:doctrine:entity Crud