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
Copy file name to clipboardExpand all lines: README.md
+56-10Lines changed: 56 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,6 @@
20
20
-[File Tree](#file-tree)
21
21
-[License](#license)
22
22
23
-
24
23
### About
25
24
Laravel logger is an activity event logger for your laravel application. It comes out the box with ready to use with dashboard to view your activity. Laravel logger can be added as a middleware or called through a trait. This package is easily configurable and customizable.
26
25
@@ -35,7 +34,28 @@ Laravel logger can work out the box with or without the following roles packages
35
34
36
35
| Laravel Logger Features |
37
36
| :------------ |
38
-
||
37
+
|Logs login page visits|
38
+
|Logs user logins|
39
+
|Logs user logouts|
40
+
|Routing Events can recording using middleware|
41
+
|Records activity timestamps|
42
+
|Records activity description|
43
+
|Records activity user type with crawler detection.|
44
+
|Records activity Method|
45
+
|Records activity Route|
46
+
|Records activity Ip Address|
47
+
|Records activity User Agent|
48
+
|Records activity Browser Language|
49
+
|Records activity referrer|
50
+
|Activity panel dashboard|
51
+
|Individual activity drilldown report dashboard|
52
+
|Activity Drilldown looks up Id Address meta information|
53
+
|Activity Drilldown shows user roles if enabled|
54
+
|Activity Drilldown shows associated user events|
55
+
|Activity log can be cleared, restored, and destroyed using eloquent softdeletes|
56
+
|Cleared activity logs can be viewed and have drilldown ability|
57
+
|Uses font awesome, cdn assets can be optionally called in configuration|
58
+
|Lots of [configuration](#configuration) options|
39
59
40
60
### Requirements
41
61
*[Laravel 5.1, 5.2, 5.3, 5.4, or 5.5+](https://laravel.com/docs/installation)
@@ -62,7 +82,17 @@ Register the package with laravel in `config/app.php` under `providers` with the
62
82
];
63
83
```
64
84
65
-
3. Optionally publish the packages views, config file, assets, and language files by running the following from your projects root folder:
85
+
3. Run the migration to add the table to record the activities to:
86
+
87
+
```php
88
+
php artisan migrate
89
+
```
90
+
91
+
* Note: If you want to specify a different table or connection make sure you update your `.env` file with the needed configuration variables.
92
+
93
+
4. Optionally Update your `.env` file and associated settings (see [Environment File](#environment-file) section)
94
+
95
+
5. Optionally publish the packages views, config file, assets, and language files by running the following from your projects root folder:
66
96
67
97
```bash
68
98
php artisan vendor:publish --tag=laravellogger
@@ -76,7 +106,7 @@ Or you can variables to your `.env` file.
0 commit comments