Download the PHP package amsdard/symfony-as-docker without Composer
On this page you can find all versions of the php package amsdard/symfony-as-docker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package symfony-as-docker
AS docker - Symfony (flex)
implement Docker into your Symfony (^4.0) project using flex
Requirements
- configure your local projects enrironment
- [optional] install composer globally global composer command
- make sure You have YAKE installed
- symfony ^4.0 with flex and basic components (see Full sample) installed
Install (when you have already an existing project)
In your project directory, download the package by composer (or git clone to your ~/Projects
directory)
-
php+nginx mode (default)
- apache mode
in case of apache
mode, You may also need:
Install - Full sample (when you install a new project)
In your ~/Projects
directory, create a new project (a new my_project
directory will be created)
Go to your ~/Projects/my_project
and run the following command to allow using a community contrib
install basic Symfony components
install as-docker
run the project
now you can run yake console make:controller Home
and go to http://my_project.test/home
How it works
-
below file structure will be installed
- your project directory name will be filled as local domain name and docker image namespace (see
docker-compose.yml
) - new rules will be added to your
.gitignore
file:/composer.phar
internal project composer/docker/*/*.env
container ENV