Setono example plugin for Sylius.
This package is auto-updated.
Last update: 2021-05-01 08:41:31 UTC
Setono have made a bunch of plugins for Sylius, and we have some guidelines which 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.
composer create-project setono/sylius-klaviyo-plugin:dev-master ProjectName.
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 setup a plugin's database, remember to configure you database credentials in