Symfony template project

This is a template project for Symfony with Docker and Docker Compose which contains :

  • php (>= 8.1) with Symfony framework (6.3)
  • mysql (8.0.32)
  • A database running with mysql (see .env file for credentials)

Requirements

  • Docker engine > 20.10
  • Docker compose > 2

Installation

  1. Clone the project ;
  2. Run make copy-env ;
  3. Update .env file with your own values (especially SYMFONY_VERSION if you want anthother than the default one) ;
  4. Run make install-dev ;

At this point you should have a working symfony project accessible on localhost .

Start the project

Run make start to start the project (not necessary if you just ran make install-dev).

Make this stack you own

To make this stack you own :

  • remove .git folder and re-initialize your own git repository ;
  • remove /apps/back/ from .gitignore ;