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
Requires
- php: ^8.0
- doctrine/orm: ^2.10
- psr/log: ^1.1 || ^2.0 || ^3.0
- sylius/sylius: *
- symfony/security-bundle: ^5.3 || ^6.0
Requires (Dev)
- phpunit/phpunit: ^10.2
README
Sylius Admin Tracker
Plugin for logging and tracking user actions on entities
Installation
- 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
- Add plugin dependencies to your
config/bundles.php
file:
return [ ... ACSEO\SyliusAdminTrackerPlugin\SyliusAdminTrackerPlugin::class => ['all' => true], ];
- Import required config in your
config/packages/_sylius.yaml
file:
# config/packages/_sylius.yaml imports: ... - { resource: "@SyliusAdminTrackerPlugin/Resources/config/services.yaml" }
- Import routing in your
config/routes.yaml
file:
# config/routes.yaml ... sylius_admin_user_action: resource: "@SyliusAdminTrackerPlugin/Resources/config/routes/sylius_admin.yaml"
- 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
- Please add plugin templates into your project: $ cp -R vendor/acseo/sylius-admin-tracker-plugin/src/Resources/views/Grid/Field templates/bundles/SyliusAdminBundle/Grid