Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Command to add ModelActivityOperation and/or EntryActivityOperation to CrudControllers #25

Open
tabacitu opened this issue Aug 31, 2023 · 0 comments

Comments

@tabacitu
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant