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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

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:

nodejs builds 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, run nodejs once — that is the only useful part of Sylius make init to reuse here (without the demo catalog).

Prefer docker compose run --rm php over exec for install steps (Sylius convention; more reliable right after make 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

PHP Build Version
Package Version
Requires php Version ^8.2
sylius/sylius Version ^2.2
symfony/console Version ^6.4 || ^7.4 || ^8.0
symfony/filesystem Version ^6.4 || ^7.4 || ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package atlas-services/sylius-shop-kit-plugin contains the following files

Loading the files please wait ...