Download the PHP package atlas-services/sylius-shop-kit-plugin without Composer
On this page you can find all versions of the php package atlas-services/sylius-shop-kit-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download atlas-services/sylius-shop-kit-plugin
More information about atlas-services/sylius-shop-kit-plugin
Files in atlas-services/sylius-shop-kit-plugin
Package sylius-shop-kit-plugin
Short Description Bootstrap Sylius shop front: EUR/fr_FR defaults, footer, logo, taxon menu, listing layout and editable Twig copies.
License MIT
Homepage https://github.com/atlas-services/sylius-shop-kit-plugin
Informations about the package sylius-shop-kit-plugin
Sylius Shop Kit
Bootstrap a Sylius shop front with Atlas defaults: footer, logo, top bar, homepage banner, static legal pages, taxon menu (home first), listing layout, and EUR / fr_FR as the shop defaults.
This package does not force templates at runtime. You run an init command that copies files into your project. Existing files are skipped unless you pass --force or confirm overwrite.
It also ships a minimal fixture suite (same pattern as the coffee / fashion / restaurant projects): empty shop — no Sylius Fashion catalog.
Requirements
- PHP 8.2+
- Sylius 2.2+
Installation
With Docker (existing Sylius project — no nodejs needed; the plugin ships no JS/CSS):
With Docker (fresh project — empty shop, no Fashion catalog):
Do not use make init: it runs sylius:install -s default (Fashion demo catalog). Use this flow instead:
nodejsbuilds Sylius front-end assets (Webpack Encore), not this plugin. The shop kit only ships Twig, YAML, PHP and static images (logo.webp). On a fresh project, runnodejsonce — that is the only useful part of Syliusmake initto reuse here (without the demo catalog).Prefer
docker compose run --rm phpoverexecfor install steps (Sylius convention; more reliable right aftermake up).
Empty shop (no Fashion catalog)
atlas:shop-kit:init copies config/packages/sylius_fixtures.yaml with suite minimal (channel + locales + menu taxon, 0 products). The channel uses fr_FR as default locale and EUR as base currency. Edit channel code / hostname there if needed.
Also copied: config/packages/atlas_shop_defaults.yaml (locale: fr_FR, sylius_installer_currency: EUR, listing grid 8/16/24).
Order matters: run atlas:shop-kit:init before sylius:install, otherwise the minimal suite does not exist yet.
Or reload fixtures only (wipes shop data):
Docker Makefile — replace make init with init-minimal:
Init options
Legal profiles
| Profile | Content |
|---|---|
demo (default) |
Purely fictional values (Ma Société, [email protected], fake SIREN…). Safe for demos / Packagist tryouts. |
atlas |
Real Atlas Services company details (SIREN, address, email…). No phone number. Publication director is generic (“Le gérant”). |
All company strings live under app.legal.* in translations/messages.{fr,en}.yaml — edit after init. Static legal page copy (labels, body text) lives under app.mentions.*, app.privacy.*, app.cookies_page.*, app.cgu_page.*, app.cgv_page.*, app.a11y.* — fully translated FR/EN.
What gets created
| Path | Role |
|---|---|
config/packages/atlas_shop_kit.yaml |
Twig hooks (footer, logo, banner, *homepage latest_ off**, navbar home + taxons) |
config/packages/atlas_shop_defaults.yaml |
locale: fr_FR, installer currency EUR, listing grid 8/16/24 |
config/packages/sylius_fixtures.yaml |
Suite minimal (EUR + fr_FR as channel defaults) |
src/Controller/Shop/StaticPageController.php |
Routes for legal / static pages |
templates/shop/homepage/banner.html.twig |
Homepage banner |
templates/shop/shared/logo.html.twig |
Logo |
templates/shop/shared/layout/base/header/navbar/** |
Taxon menu: home icon first, mx-sm-4 spacing |
templates/shop/shared/layout/base/footer/** |
Footer parts (links to static routes) |
templates/shop/product/index/** |
Listing H1, optional taxon description, 4-column grid, breadcrumbs without Accueil/Category |
templates/shop/grid/filter/string.html.twig |
Search placeholder « Rechercher » / « Search » |
templates/shop/static/** |
Legal notice, terms of sale, terms of use, privacy, cookies, a11y, FAQ, sitemap |
templates/shop/product/common/list.html.twig |
Product list (if you re-enable latest deals / products) |
translations/messages.{en,fr}.yaml |
UI + app.legal.* (from chosen profile) |
public/media/homepage/, public/media/logo/ |
Asset folders |
public/media/logo/logo.webp |
Default Atlas Services logo |
Homepage latest deals and latest products are copied as enabled: false. Re-enable them in atlas_shop_kit.yaml if needed. Override app.taxon.products_heading (default %taxon%) for a listing prefix such as Parfum %taxon%.
Replace the logo or drop a banner at public/media/homepage/banner.jpg as needed.
Existing projects
Safe: atlas:shop-kit:init only creates missing files. Your custom Twig and hooks stay untouched.
On a shop already initialised with 0.2.x, a new init (without --force) will add the new v1 files (atlas_shop_defaults.yaml, navbar, listing templates, …) but skip atlas_shop_kit.yaml. Merge the homepage latest_* enabled: false and navbar hooks by hand, or pass --force only if you intend to overwrite hooks.
To switch legal profile later:
License
MIT. See LICENSE.
Developed by Atlas Services.
All versions of sylius-shop-kit-plugin with dependencies
sylius/sylius Version ^2.2
symfony/console Version ^6.4 || ^7.4 || ^8.0
symfony/filesystem Version ^6.4 || ^7.4 || ^8.0