Open
Description
Upon installing this package, I would like it to treat me like I'm stupid. Because I am, most of the time. Or at least too lazy to follow the docs.
I would like it to ask me, then do everything needed to get up-and-running:
- Want to publish a menu item? Yes/No
- Spatie migrations not found. Want to publish and run them? Yes/No
- Spatie config not found. Want to publish it? Yes/No
- Want to create a
App\Models\Trait\LogsActivity
with some reasonable defaults? Yes/No - Want to inject
App\Models\LogsActivity
on models? Yes/No - Want to add
ModelActivityOperation
andEntryActivityOperation
to CrudControllers? Yes/No
The result... would be that installing and using this package would be:
php artisan require backpack/activity-log
php artisan backpack:activity-log:install
That's it.