Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acseo/syliusadmintracker
https://github.com/acseo/syliusadmintracker
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/acseo/syliusadmintracker
- Owner: acseo
- License: other
- Created: 2024-08-08T14:54:16.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-29T07:29:45.000Z (4 months ago)
- Last Synced: 2024-08-29T08:55:32.245Z (4 months ago)
- Language: PHP
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.*
```bash
$ composer require acseo/sylius-admin-tracker-plugin
```2. Add plugin dependencies to your `config/bundles.php` file:
```php
return [
...
ACSEO\SyliusAdminTrackerPlugin\SyliusAdminTrackerPlugin::class => ['all' => true],
];
```3. Import required config in your `config/packages/_sylius.yaml` file:
```yaml
# config/packages/_sylius.yamlimports:
...
- { resource: "@SyliusAdminTrackerPlugin/Resources/config/services.yaml" }
```4. Import routing in your `config/routes.yaml` file:
```yaml
# config/routes.yaml
...sylius_admin_user_action:
resource: "@SyliusAdminTrackerPlugin/Resources/config/routes/sylius_admin.yaml"
```5. Finish the installation by updating the database schema and installing assets:
```bash
$ bin/console cache:clear
$ bin/console do:migrations:di
$ bin/console doctrine:migrations:migrate
```6. Please add plugin templates into your project:
$ cp -R vendor/acseo/sylius-admin-tracker-plugin/src/Resources/views/Grid/Field templates/bundles/SyliusAdminBundle/Grid