Skip to content

ilukac/ezpublish-community-sylius

 
 

Repository files navigation

eZ Publish 5 and Sylius E-Commerce integration

About this repo

This repo provides an example integration of eZ Publish 5 and Sylius E-Commerce.

Initial version of integration provides the ability to run eZ Publish and Sylius as one application, using the same database, but WITHOUT sharing users. Sharing users between eZ Publish and Sylius is planned for further releases.

Two integration points do exist however (provided by NetgenEzSyliusBundle):

  • eZ Publish field type and legacy datatype which provide the ability to create and edit Sylius products by publishing eZ Publish content
  • Ability to generate links to eZ Publish content wrapping Sylius products instead of generating the links to products themselves

Installation instructions

For installation instructions, see INSTALL.md.

Requirements

eZ Publish 5 and Sylius have the same requirements as Symfony2, plus the regular eZ Publish 4 ones.

Minimum PHP version is 5.4.4, but 5.5.x is recommended.

The integration is based on eZ Publish Community 2014.11 and Sylius E-Commerce 0.14

Known issues

Two issues were detected while testing the integration and as of now remain unfixed. However, both issues are not critical and can be easily circumvented and do not affect normal operation:

  • running cache:clear command WITHOUT --no-warmup flag results in RuntimeException "Failed to start the session because headers have already been sent by /var/www/html/ezpublish/ezpublish_legacy/lib/ezutils/classes/ezcli.php at line 351."

    Solution: Run the command with --no-warmup flag

  • running eZ Publish setup wizard in dev environment (set by ENVIRONMENT environment variable), results in fatal error at the end of setup wizard.

    Solution: Run the setup wizard while in prod environment

Credits

The following people worked on integrating eZ Publish and Sylius:

This integration was developed on a commercial project in cooperation with Locastic (development) and Keyteq (project lead).

Copyright

  • Copyright (C) 1999-2015 eZ Systems AS. All rights reserved.
  • Copyright (c) 2011-2015 Paweł Jędrzejewski
  • Copyright (C) 2015 Locastic. All rights reserved.
  • Copyright (C) 2015 Netgen. All rights reserved.

License

About

eZ Publish 5 & Sylius E-Commerce integration - eZ Publish Summer Camp 2015 workshop

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 66.5%
  • HTML 29.3%
  • Shell 3.6%
  • JavaScript 0.6%