netgen / ezpublish-community-sylius
eZ Publish 5 community distribution coupled with Sylius E-Commerce
Installs: 101
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 11
Forks: 6
Open Issues: 0
Requires
- php: >=5.4.4
- doctrine/dbal: ~2.5@rc
- doctrine/doctrine-bundle: ~1.3@beta
- doctrine/migrations: ~1.0@dev
- egulias/listeners-debug-command-bundle: ~1.9
- ezsystems/comments-bundle: >=2014.11
- ezsystems/demobundle: >=2014.11
- ezsystems/ezpublish-kernel: >=2014.11
- ezsystems/ezpublish-legacy: >=2014.11
- friendsofsymfony/user-bundle: 2.0.*@dev
- hautelook/templated-uri-bundle: ~1.0 | ~2.0
- incenteev/composer-parameter-handler: ~2.0
- nelmio/cors-bundle: ~1.3
- netgen/ez-sylius-bundle: ~1.0
- sensio/distribution-bundle: ~2.3|~3.0
- sensio/framework-extra-bundle: ~3.0
- sensio/generator-bundle: ~2.3
- sylius/sylius: ~0.14.0
- symfony/assetic-bundle: ~2.3
- symfony/expression-language: ~2.4
- symfony/monolog-bundle: ~2.4
- symfony/swiftmailer-bundle: ~2.3
- symfony/symfony: ~2.5.0
- tedivm/stash-bundle: 0.4.*
- twig/extensions: ~1.0
- white-october/pagerfanta-bundle: 1.0.*
- whiteoctober/breadcrumbs-bundle: ~1.0.1
Requires (Dev)
- behat/behat: 3.0.*
- behat/mink-extension: *
- behat/mink-sahi-driver: *
- behat/mink-selenium2-driver: *
- behat/sahi-client: dev-master as 1.1.1
- behat/symfony2-extension: 2.0.*
- ezsystems/behatbundle: @dev
- fzaninotto/faker: 1.4
This package is not auto-updated.
Last update: 2020-09-24 12:12:15 UTC
README
This repo is deprecated in favor of https://github.com/netgen/ezplatform-sylius due to being based on now unsupported and pretty old versions of eZ Publish (2014.11) and Sylius (0.14). The new repo is based on current versions of both eZ Platform and Sylius.
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 inRuntimeException
"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:
- Antonio Perić (Locastic)
- Ivan Herak (Netgen)
- Edi Modrić (Netgen)
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
- http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
- https://github.com/Sylius/Sylius/blob/master/LICENSE