/Sylius

eCommerce PHP framework built on top of Symfony with component-based architecture and format-agnostic rendering. (HTML/JSON/XML)

Primary LanguagePHPMIT LicenseMIT


Sylius is the first eCommerce framework for tailored solution based on Symfony and Doctrine.

The highest quality of code, strong testing culture, built-in Agile (BDD) workflow and exceptional flexibility make it the best solution for application tailored to your business requirements. Powerful REST API allows for easy integrations and creating unique customer experience on any device.

We're using full-stack Behavior-Driven-Development, with phpspec and Behat.

Enjoy being an eCommerce Developer again!

Documentation

Documentation is available at docs.sylius.com.

Requirements

Read about the Sylius system requirements in detail here.

Installation

You need composer to install PHP packages and yarn to install JS packages.

$ composer create-project sylius/sylius-standard my-sylius-shop && cd my-sylius-shop
$ php bin/console sylius:install
$ yarn install && yarn run gulp
$ php bin/console server:start

Note: make sure to use PHP ^7.1. Using an older PHP version will result in installing an older version of Sylius.

Then open http://localhost:8000/ in your web browser to enjoy your Sylius shop in a development environment.

Alternatively, you can use Vagrant for your initial setup.

Production

When you're ready to go live, setup your production database:

php bin/console sylius:install --env prod

And choose N when it comes to the Loading sample data step.

Then please refer to Symfony's documentation to properly setup your Apache/Nginx web server.

Troubleshooting

If something goes wrong, errors & exceptions are logged at the application level:

$ tail -f var/logs/prod.log
$ tail -f var/logs/dev.log

If you are using the supplied Vagrant development environment, please see the related Troubleshooting guide for more information.

Contributing

Would like to help us and build the most developer-friendly eCommerce platform? Start from reading our Contributing Guide!

Stay Updated

If you want to keep up with the updates, follow the official Sylius account on Twitter and like us on Facebook.

Bug Tracking

If you want to report a bug or suggest an idea, please use GitHub issues.

Community Support

Have a question? Join our Slack or post it on StackOverflow tagged with "sylius".

MIT License

Sylius is completely free and released under the MIT License.

Authors

Sylius was originally created by Paweł Jędrzejewski. See the list of contributors from our awesome community.