Sylius installation via Vagrant


This article assumes you’re familiar with Composer, a dependency manager for PHP. It also assumes you have Composer installed globally. Basic knowledgle about Vagrant is also required, and of course installed Vagrant.

What’s Vagrant?

Vagrant is a tool for building complete development environments, that in case of Sylius will help you to quickly have full application running on your machine.


Learn more about Vagrant. Vagrant installation info.

How to install Sylius using Vagrant?

  1. Create a new Sylius-Standard project using composer in no interaction mode (-n flag):
$ composer create-project -s beta -n sylius/sylius-standard acme


The no interaction mode results in having null database password, what lets Vagrant put its own password(vagrant) into that parameter. It is not mandatory. You can change the database password in the parameters.yml to vagrant also later on.

  1. Inside your new project directory clone the Sylius/Vagrant repository into the /vagrant/ directory:
$ git clone vagrant
  1. Move to the /vagrant/ directory and build Vagrant:
$ cd vagrant
$ vagrant up
  1. Add an entry for to the etc/hosts file:
# etc/hosts

From now on you will be able to access running Sylius application at