Open
Description
I want this package to make it easier for me to use ModelActivityOperation
and EntryActivityOperation
on my CrudControllers.
I want to run php artisan backpack:activity-log:inject-operation
, and it will go through all CrudControllers and inject the operation trait.
Possible attributes:
php artisan backpack:activity-log:inject-operation --operation='Backpack\..\ModelActivityOperation'
php artisan backpack:activity-log:inject-operation --controller-path='App\DifferentControllerPath\'
php artisan backpack:activity-log:inject-operation --ask
- would ask me for each CrudController, if I want to add yes/no
That would make it MUCH simpler to install this package.