Skip to content

Symfony4 - a quick start template Symfony 4, PHP 7.2.15 and docker-compose for developers

Notifications You must be signed in to change notification settings

trydirect/symfony4

Repository files navigation

Build Status Docker Stars Docker Pulls Docker Automated Docker Build Gitter chat

Symfony 4

Symfony 4 template includes:

  • PHP-fpm 7.2
  • MySQL 5.7
  • Xdebug 2.6.1
  • Nginx
  • Supervisord
  • docker-compose
  • Ubuntu 18.04

This project helps Symfony developers to start their new projects quickly using docker-compose. Docker image includes Xdebug.

Note

Before installing this project, please, make sure you have installed docker and docker-compose

To install docker execute:

$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sh get-docker.sh
$ pip install docker-compose

Installation

Clone this project into your work directory:

$ git clone "https://github.com/trydirect/symfony4.git"

Then build it via docker-compose:

$ cd symfony4
$ docker-compose up -d

Quick deployment to cloud

Amazon AWS, Digital Ocean, Hetzner and others

Let's check the deployment result in browser

Url App
http://localhost Symfony home page
http://localhost:5601 Kibana
http://localhost:9200 Elasticsearch

Run Tests

$ python tests.py 

Contributing

  1. Fork it (https://github.com/trydirect/symfony4/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Support Development

Donate