Download the PHP package sudippalash/activity-log without Composer
On this page you can find all versions of the php package sudippalash/activity-log. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sudippalash/activity-log
More information about sudippalash/activity-log
Files in sudippalash/activity-log
Package activity-log
Short Description Laravel package for Activity log preview
License MIT
Informations about the package activity-log
Activity Log
activity-log
is an activity log management package for Laravel
that allows you to create and preview activity logs.
Note: This package is wrapper of spatie/laravel-activitylog
package.
Install
Via Composer
Publish config & migrations files
You should publish
migrations files:
database/migrations/create_activity_log_table.php
database/migrations/add_event_column_to_activity_log_table.php
database/migrations/add_batch_uuid_column_to_activity_log_table.php
config files:
config/activitylog.php
config/activity-log.php
with:
For config/activitylog.php
file you should check spatie/laravel-activitylog
package documentation.
This is the contents of the published config file config/activity-log.php
:
Optionally, you can publish the views using
Optionally, you can publish the lang using
You should run the migrations with:
Usage
You should copy the below line and paste in your project menu section
Use this `ActivityLog`` trait in your model(s). It will automatically store all DB-related events to the model(s).
All versions of activity-log with dependencies
laravel/framework Version ^8.0|^9.0|^10.0|^11.0|^12.0
spatie/laravel-activitylog Version ^4.0