Download the PHP package orgenus/laravel-activitylog without Composer
On this page you can find all versions of the php package orgenus/laravel-activitylog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-activitylog
Log activity inside your Laravel app
The spatie/laravel-activitylog
package provides easy to use functions to log the activities of the users of your app. It can also automatically log model events.
The Package stores all activity in the activity_log
table.
Here's a demo of how you can use it:
You can retrieve all activity using the Spatie\Activitylog\Models\Activity
model.
Here's a more advanced example:
Here's an example on event logging.
Calling $activity->changes()
will return this array:
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Documentation
You'll find the documentation on https://spatie.be/docs/laravel-activitylog/introduction.
Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the activity log? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.
Installation
You can install the package via composer:
The package will automatically register itself.
You can publish the migration with:
Note: The default migration assumes you are using integers for your model IDs. If you are using UUIDs, or some other format, adjust the format of the subject_id and causer_id fields in the published migration before continuing.
After publishing the migration you can create the activity_log
table by running the migrations:
You can optionally publish the config file with:
Changelog
Please see CHANGELOG for more information about recent changes.
Upgrading
Please see UPGRADING for details.
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.
Credits
- Freek Van der Herten
- Sebastian De Deyne
- Tom Witkowski
- All Contributors
And a special thanks to Caneco for the logo and Ahmed Nagi for all the work he put in v4
.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-activitylog with dependencies
illuminate/config Version ^8.0 || ^9.0
illuminate/database Version ^8.53 || ^9.0
illuminate/queue Version ^9.8
illuminate/support Version ^8.0 || ^9.0
spatie/laravel-package-tools Version ^1.6.3