You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon installing this package, if I haven't already installed and set up spatie/laravel-activitylog, I want this package to make it easier for me to implement the most common scenario.
I want to run php artisan backpack:activity-log:inject-model-trait, and it will go through all models in App\Models and inject that trait.
Upon installing this package, if I haven't already installed and set up
spatie/laravel-activitylog
, I want this package to make it easier for me to implement the most common scenario.I want to run
php artisan backpack:activity-log:inject-model-trait
, and it will go through all models inApp\Models
and inject that trait.Possible attributes:
php artisan backpack:activity-log:inject-model-trait --trait='App\Models\Traits\DifferentTrait'
php artisan backpack:activity-log:inject-model-trait --model-path='App\DifferentModelsPath\'
php artisan backpack:activity-log:inject-model-trait --ask
- would ask me for each model, if I want to add yes/noThat would make it MUCH simpler to use
spatie/laravel-activitylog
.The text was updated successfully, but these errors were encountered: