- Configure your MySQL / Mariadb database URL in your
.env.local
file
# .env.local
DATABASE_URL=mysql://root:root@localhost:3306/trip_booking_app?serverVersion=11.2.2-MariaDB&charset=utf8mb4
- Install third party PHP dependencies
$ symfony composer install
- Setup the database
$ symfony console doctrine:database:create
$ symfony console doctrine:migration:migrate
$ symfony console doctrine:fixtures:load
- Run the Symfony local PHP Web server
$ symfony server:start -d
- Open the application in your Web browser
$ open https://127.0.0.1:8000/