Install SyliusWebBundle on existing symfony 2 project Install SyliusWebBundle on existing symfony 2 project symfony symfony

Install SyliusWebBundle on existing symfony 2 project


You can install any of the bundles to your project using composer, just like you would any other symfony2 bundles.

You can find a list of the sylius bundles on the Packigist site.The web bundle can be installed to your current project by simply typing, in your projects root dir:

composer require sylius/web-bundle

you will be prompted to select the version. "dev-master" is probably what you want.

Note: Depending on your setup the command you run might be

php composer.phar require sylius/web-bundle

If your not familiar with composer it's worth the time to look it up :).

Money bundle:

php composer.phar require sylius/money-bundle


There are documentations for each bundles of Sylius such as this for CartBundle and this for SaleBundle