Skip to content

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

Open
@tabacitu

Description

@tabacitu

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions