Download the PHP package madhurasri/laravel-activitylog-mongodb without Composer
On this page you can find all versions of the php package madhurasri/laravel-activitylog-mongodb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download madhurasri/laravel-activitylog-mongodb
More information about madhurasri/laravel-activitylog-mongodb
Files in madhurasri/laravel-activitylog-mongodb
Package laravel-activitylog-mongodb
Short Description This is an extended version of the popular spatie/laravel-activitylog package designed to store data in MongoDB databases.
License MIT
Homepage https://github.com/spatie/activitylog
Informations about the package laravel-activitylog-mongodb
Log activity inside your Laravel app with MongoDB support
This is an extended version of the popular spatie/laravel-activitylog
package which allows you to easily log activities of your Laravel applications, such as user logins, profile updates, and more. It can also automatically log model events. This extended package allows you to store all activity in a MongoDB collection.
Installation
You can install the package via composer:
The package will automatically register itself.
You can publish the config file with:
Usage
Here's a demo of how you can use it:
You can retrieve all activity using the Madhurasri\Activitylog\Models\Activity
model.
Here's a more advanced example:
Here's an example on event logging.
Calling $activity->changes()
will return this array:
Documentation
You'll find the documentation of original package 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 mongodb pakcage? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.
Testing
Changelog
Please see CHANGELOG for more information about recent changes.
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
.
Support spatie
Spatie invest a lot of resources into creating best in class open source packages. You can support them by buying one of their paid products.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-activitylog-mongodb with dependencies
illuminate/config Version ^8.0 || ^9.0
illuminate/database Version ^8.69 || ^9.27
illuminate/support Version ^8.0 || ^9.0
jenssegers/mongodb Version *
spatie/laravel-package-tools Version ^1.6.3