setono/sylius-trustpilot-plugin

Trustpilot plugin for Sylius.

Installs: 23 869

Dependents: 1

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 4

Open Issues: 4

Type:sylius-plugin

v2.0.0-alpha.4 2022-09-05 10:38 UTC

README

Latest Version Software License Build Status

Send review invitations to your customers to entice them to leave feedback for you. The plugin uses Trustpilots AFS service.

Installation

$ composer require setono/sylius-trustpilot-plugin

Add bundle to config/bundles.php:

<?php
// config/bundles.php

return [
    // ...
    Setono\SyliusTrustpilotPlugin\SetonoSyliusTrustpilotPlugin::class => ['all' => true],
];

Configure plugin

# config/packages/setono_sylius_trustpilot.yaml
imports:
    - { resource: "@SetonoSyliusTrustpilotPlugin/Resources/config/app/config.yaml" }

Configure routes

# config/routes/setono_sylius_trustpilot.yaml
setono_sylius_trustpilot:
    resource: "@SetonoSyliusTrustpilotPlugin/Resources/config/routes.yaml"

Install assets

bin/console assets:install

Update your schema

# Generate and edit migration
bin/console doctrine:migrations:diff

# Then apply migration
bin/console doctrine:migrations:migrate

Add cronjob

The following command should be run on a regular basis:

bin/console setono:sylius-trustpilot:process