Download the PHP package setono/sylius-consent-management-plugin without Composer
On this page you can find all versions of the php package setono/sylius-consent-management-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download setono/sylius-consent-management-plugin
More information about setono/sylius-consent-management-plugin
Files in setono/sylius-consent-management-plugin
Package sylius-consent-management-plugin
Short Description Consent management plugin for Sylius
License proprietary
Informations about the package sylius-consent-management-plugin
Sylius Consent Management Plugin
This plugin will create a consent dialog that every user will see. The user is given the option to accept all 'services' or necessary services.
Installation
Register bundle
Add the bundle to bundles.php if not done automatically. Be sure to add this line before Sylius\Bundle\GridBundle\SyliusGridBundle::class
Install assets
Add migration
Import the routes
Create the file config/routes/setono_sylius_consent_management.yaml and add the following:
If your store doesn't use locales, there's also a route file for that:
Update the layout
For everything to work there are two Twig functions you need to call: sscm_resources() and sscm_widget().
The sscm_resources() should be called in your <head> section while the sscm_widget() should be called just before
the </body>.
The sscm_resources() function will output the JS and CSS needed to render the widget. It will only output what's
necessary, so you don't have to worry about bloating your page with unused JS or CSS.
The sscm_widget() will output the actual HTML needed to render the widget. It's also true for this function that it
will only render what's necessary, so in this case if the user has already seen the widget, it will output an empty string.
All versions of sylius-consent-management-plugin with dependencies
ext-json Version *
dbrekelmans/bdi Version ^1.4
doctrine/collections Version ^1.6
doctrine/orm Version ^2.15
doctrine/persistence Version ^3.0
fakerphp/faker Version ^1.9
knplabs/knp-menu Version ^3.1
league/uri Version ^6.8
league/uri-components Version ^2.4
league/uri-interfaces Version ^2.3
php-webdriver/webdriver Version ^1.15
psr/event-dispatcher Version ^1.0
psr/log Version ^1.0 || ^2.0 || ^3.0
setono/bot-detection-bundle Version ^1.13
setono/client Version ^1.1
setono/client-bundle Version ^1.1
setono/composite-compiler-pass Version ^1.2
setono/consent-bundle Version ^1.2
setono/consent-contracts Version ^1.1
setono/doctrine-orm-trait Version ^1.1
setono/sylius-static-contexts-bundle Version ^1.0
stof/doctrine-extensions-bundle Version ^1.6
sylius/channel Version ^1.0
sylius/channel-bundle Version ^1.0
sylius/core Version ^1.0
sylius/core-bundle Version ^1.0
sylius/grid-bundle Version ^1.0
sylius/locale Version ^1.0
sylius/locale-bundle Version ^1.0
sylius/mailer-bundle Version ^1.0 || ^2.0
sylius/resource-bundle Version ^1.11
sylius/ui-bundle Version ^1.0
symfony/browser-kit Version ^6.4 || ^7.0
symfony/config Version ^6.4 || ^7.0
symfony/console Version ^6.4 || ^7.0
symfony/dependency-injection Version ^6.4 || ^7.0
symfony/doctrine-bridge Version ^6.4 || ^7.0
symfony/event-dispatcher Version ^6.4 || ^7.0
symfony/form Version ^6.4 || ^7.0
symfony/http-foundation Version ^6.4 || ^7.0
symfony/http-kernel Version ^6.4 || ^7.0
symfony/options-resolver Version ^6.4 || ^7.0
symfony/panther Version ^2.2
symfony/process Version ^6.4 || ^7.0
symfony/routing Version ^6.4 || ^7.0
symfony/security-bundle Version ^6.4 || ^7.0
symfony/security-http Version ^6.4 || ^7.0
symfony/service-contracts Version ^2.5 || ^3.5
symfony/string Version ^6.4 || ^7.0
symfony/translation-contracts Version ^1.1 || ^2.4 || ^3.3
symfony/workflow Version ^6.4 || ^7.0
twig/twig Version ^2.12 || ^3.0
webmozart/assert Version ^1.11