4 - PHP MVC Frameworks Introducing Symfony Lab
4 - PHP MVC Frameworks Introducing Symfony Lab
cd basic_crud
DATABASE_URL=mysql://root:@127.0.0.1:3306/basic_crud_db?
serverVersion=mariadb-10.4.11
You can create the database directly in your database client interface, or create by Symfony
command line:
bin/console make:migration
bin/console doctrine:fixtures:load
Now 10 article records already inserted into database, we can check it by the command:
We are done