{"id":23395816,"url":"https://github.com/netgen/ezplatform-sylius","last_synced_at":"2025-04-11T14:12:57.739Z","repository":{"id":57025455,"uuid":"65913941","full_name":"netgen/ezplatform-sylius","owner":"netgen","description":"eZ Platform and Sylius eCommerce integration","archived":false,"fork":false,"pushed_at":"2019-08-23T13:50:52.000Z","size":7586,"stargazers_count":32,"open_issues_count":1,"forks_count":11,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-25T10:21:30.275Z","etag":null,"topics":["cms","ecommerce","ezplatform","php","sylius","symfony"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netgen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-17T14:24:57.000Z","updated_at":"2023-12-25T22:18:26.000Z","dependencies_parsed_at":"2022-08-23T16:20:31.834Z","dependency_job_id":null,"html_url":"https://github.com/netgen/ezplatform-sylius","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezplatform-sylius","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezplatform-sylius/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezplatform-sylius/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgen%2Fezplatform-sylius/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netgen","download_url":"https://codeload.github.com/netgen/ezplatform-sylius/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248414869,"owners_count":21099561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","ecommerce","ezplatform","php","sylius","symfony"],"created_at":"2024-12-22T07:18:26.828Z","updated_at":"2025-04-11T14:12:57.716Z","avatar_url":"https://github.com/netgen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eZ Platform \u0026 Sylius eCommerce integration\n\nThis is a proof of concept integration of [eZ Platform](https://github.com/ezsystems/ezplatform) \u0026 [Sylius eCommerce](https://github.com/sylius/sylius). eZ Platform being a really good CMS, and Sylius being a really good eCommerce solution, both running on Symfony full stack framework, and considering the fact that there is no quality solution that does both CMS and eCommerce right, it is only natural to try and connect the two.\n\nHere both, eZ Platform and Sylius, run on same Symfony full stack instance. [A bundle](https://github.com/netgen/NetgenEzSyliusBundle) exists to assist the integration, by implementing custom user providers that make it possible to connect the users together.\n\nSylius users act as primary users, while eZ Platform users are secondary, you can use them (if they're connected to Sylius users) or not, it's up to you. However, you will at least need one Sylius admin user to be connected to one eZ Platform admin user in order to enable seamless login to both admin panels.\n\n## Limitations\n\nDue to way Sylius users are implemented, it is currently not possible to be logged in with both Sylius admin and Sylius shop users. Use a second browser or incognito mode to login both ways. Hopefully, this will be solved by the time this integration reaches a stable release.\n\n## Installation instructions\n\nRun the following instructions to install the integration. This will first install Sylius, then install eZ Platform, and finally connect the admin users from Sylius and eZ Platform together.\n\n### IMPORTANT\n\nAlways make sure your default locale is compatible with default locale from your eZ Platform database. `app/config/config.yml` file sets the default locale to `en_GB` due to `eng-GB` (which is converted internally to `en_GB`) being the default locale in eZ Platform clean data.\n\nDue to how Sylius install process works and the fact that this integration requires additional database tables, you first need to create the database schema and then run Sylius install command. Due to this, when asked by Sylius install command, DO NOT drop and create the database and its schema (meaning, answer the first two questions NO).\n\n```bash\n$ git clone https://github.com/netgen/ezplatform-sylius.git\n$ cd ezplatform-sylius\n$ composer install\n$ php bin/console --env=prod doctrine:schema:create\n$ php bin/console --env=prod sylius:install\n$ php bin/console --env=prod ezplatform:install clean\n$ php bin/console --env=prod assetic:dump\n$ php bin/console --env=prod assets:install --relative --symlink\n$ php bin/console --env=prod ezsylius:user:connect\n```\n\nTo connect the users, when asked, select the `admin` Sylius user type, then enter the e-mail address of Sylius admin user (the one you specified while running `sylius:install` command), then enter the username of eZ Platform admin user (usually `admin`).\n\nOnce all this is done, you will need to generate assets for Sylius frontend and backend interfaces. You need `yarn` installed for this. Once installed, to generate the assets, run the following from the project root:\n\n```bash\n$ yarn install\n$ yarn build\n```\n\n## eZ Publish legacy administration\n\nWhen installing and activating eZ Publish legacy administration interface, be sure to activate the `EzSyliusBundle` after `EzPublishLegacyBundle`.\n\nTo activate support for Sylius Product field type in legacy administration interface, activate `ezsylius` legacy extension in your INI files, regenerate legacy autoloads and clear legacy caches.\n\n## Access the eZ Platform admin interface\n\neZ Platform admin interface is available in standard `/admin` route. Use the Sylius admin username and password to login.\n\n## Access the Sylius shop and Sylius admin interface\n\nIf you didn't change any parameters while running `composer install`, Sylius shop will be available at `/shop`, while Sylius admin interface will be available at `/sylius/admin/`. If you don't like these paths, you can change them in `app/config/sylius_parameters.yml`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetgen%2Fezplatform-sylius","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetgen%2Fezplatform-sylius","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetgen%2Fezplatform-sylius/lists"}