setono / sylius-plugin-skeleton
Acme example plugin for Sylius.
Package info
github.com/Setono/SyliusPluginSkeleton
Type:sylius-plugin
pkg:composer/setono/sylius-plugin-skeleton
Fund package maintenance!
Requires
- php: >=8.2
- sylius/core-bundle: ^2.2
- symfony/config: ^6.4 || ^7.4
- symfony/dependency-injection: ^6.4 || ^7.4
- symfony/http-kernel: ^6.4 || ^7.4
Requires (Dev)
- api-platform/symfony: ^4.3.3
- gedmo/doctrine-extensions: ^3.22.2
- payum/core: ^1.7.5
- setono/sylius-plugin: ^2.0
- sylius/grid-bundle: ^1.15
- sylius/sylius: ~2.2.10
- symfony/debug-bundle: ^6.4 || ^7.4
- symfony/dotenv: ^6.4 || ^7.4
- symfony/intl: ^6.4 || ^7.4
- symfony/property-info: ^6.4 || ^7.4
- symfony/serializer: ^6.4 || ^7.4
- symfony/web-profiler-bundle: ^6.4 || ^7.4
- symfony/webpack-encore-bundle: ^2.2
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- 2.2.x-dev
- 2.0.x-dev
- 1.14.x-dev
- 1.12.x-dev
- dev-link-symfony-lsp-env-issue-1.14.x
- dev-symfony-lsp-check-1.14.x
- dev-remove-node-modules-symlink-1.14.x
- dev-code-coverage-test-application-2.2.x
- dev-tmp-cov-test-functional
- dev-tmp-cov-test-php84
- dev-tmp-cov-test-empty
- dev-document-practices-2.2.x
- dev-symfony-lsp-check-2.2.x
- dev-tmp-lsp-test-failing
- dev-tmp-lsp-test-not-opted-in
- dev-tmp-lsp-test-opted-in
- dev-remove-node-modules-symlink-2.2.x
- dev-fix-build-2.2.x
This package is auto-updated.
Last update: 2026-10-19 11:57:35 UTC
README
Setono have made a bunch of plugins for Sylius, and we have some guidelines that we try to follow when developing plugins. These guidelines are used in this repository, and it gives you a very solid base when developing plugins.
Enjoy!
Quickstart
-
Run
composer create-project --prefer-source --no-install --remove-vcs setono/sylius-plugin-skeleton:2.2.x-dev ProjectName
or just click the
Use this templatebutton at the right corner of this repository. -
Run
cd ProjectName && composer install
-
From the plugin skeleton root directory, run the following commands:
php init (cd tests/Application && yarn install) (cd tests/Application && yarn build) (cd tests/Application && bin/console assets:install) (cd tests/Application && bin/console doctrine:database:create) (cd tests/Application && bin/console doctrine:schema:create) (cd tests/Application && bin/console sylius:fixtures:load -n)
-
Start your local PHP server:
symfony serve(see https://symfony.com/doc/current/setup/symfony_server.html for docs)
To be able to set up a plugin's database, remember to configure you database credentials in tests/Application/.env and tests/Application/.env.test.