acseo/sylius-admin-tracker-plugin

Sylius Plugin for logging and tracking user actions on entities

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 1

Open Issues: 0

Type:sylius-plugin

v1 2024-08-27 07:56 UTC

This package is auto-updated.

Last update: 2024-10-29 08:01:31 UTC


README

ACSEO

Sylius Admin Tracker

Plugin for logging and tracking user actions on entities

Installation

  1. We work on stable, supported and up-to-date versions of packages. We recommend you to do the same.
$ composer require acseo/sylius-admin-tracker-plugin
  1. Add plugin dependencies to your config/bundles.php file:
return [
    ...
    ACSEO\SyliusAdminTrackerPlugin\SyliusAdminTrackerPlugin::class => ['all' => true],
];
  1. Import required config in your config/packages/_sylius.yaml file:
# config/packages/_sylius.yaml

imports:
      ...
          
          - { resource: "@SyliusAdminTrackerPlugin/Resources/config/services.yaml" }
  1. Import routing in your config/routes.yaml file:
# config/routes.yaml
...

sylius_admin_user_action:
    resource: "@SyliusAdminTrackerPlugin/Resources/config/routes/sylius_admin.yaml"
  1. Finish the installation by updating the database schema and installing assets:
$ bin/console cache:clear
$ bin/console do:migrations:di
$ bin/console doctrine:migrations:migrate
  1. Please add plugin templates into your project: $ cp -R vendor/acseo/sylius-admin-tracker-plugin/src/Resources/views/Grid/Field templates/bundles/SyliusAdminBundle/Grid