cosma / symfony-project
The "Symfony Standard Edition" distribution with docker
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=5.3.9
- doctrine/doctrine-bundle: ~1.4
- doctrine/orm: ^2.4.8
- incenteev/composer-parameter-handler: ~2.0
- sensio/distribution-bundle: ~5.0
- sensio/framework-extra-bundle: ^3.0.2
- symfony/assetic-bundle: ~2.7
- symfony/monolog-bundle: ~2.4
- symfony/swiftmailer-bundle: ~2.3
- symfony/symfony: 2.8.*
Requires (Dev)
- phpunit/phpunit: 5.1.*
- sensio/generator-bundle: ~3.0
- symfony/phpunit-bridge: ~2.7
This package is not auto-updated.
Last update: 2024-10-26 19:05:15 UTC
README
Welcome to the Dockerized Symfony Standard Edition - a fully-functional Symfony2 application that you can use as the skeleton for your new applications.
This document contains information on how to download, install, and start using Symfony on Docker.
Table of Contents
Installing Symfony
When it comes to installing the Symfony Standard Edition, you have the following options.
Use Composer (recommended)
As Symfony uses [Composer][2] to manage its dependencies, the recommended way to create a new project is to use it.
If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:
curl -s http://getcomposer.org/installer | php
Then, use the create-project
command to generate a new Symfony application:
php composer.phar create-project cosma/symfony-project path/to/install
Composer will install Symfony and all its dependencies under the
path/to/install
directory.
Docker
-
Download and install latest version of Virtual Box
-
Download and install latest version of Docker. For MacOS/ Windows user please install through Docker Toolbox
-
Run in console:
docker-compose up
Docker containers expose Nginx on port 80, MySQL on port 3306 and Kibana server on port 81.
Tests
Run in console:
bin/phpunit -c app/ --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit.xml --coverage-text src/