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
{{ message }}
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
You need to add the following config entries in config/audit.php if you need to change the default behaviour of the driver.
15
27
The `queue` key of the config file should look like so:
@@ -61,7 +73,18 @@ The `drivers` key of the config file should look like so:
61
73
...
62
74
```
63
75
64
-
### Usage
76
+
## Console commands
77
+
78
+
Available artisan commands are listed below:
79
+
80
+
Command | Arguments | Description
81
+
--- | ---
82
+
auditing:es-index | Index all of the model's records into the search index.
83
+
auditing:es-delete | Delete all of the model's records from the index.
84
+
85
+
For detailed description and all available options run `php artisan help [command]` in the command line.
86
+
87
+
## Usage
65
88
66
89
You can use the driver in any Auditable model like so:
67
90
@@ -89,4 +112,8 @@ class SomeModel extends Model implements AuditableContract
89
112
}
90
113
```
91
114
115
+
## Donate
116
+
117
+
:coffee: If you like my package, it'd be nice of you [to buy me a cup of coffee](https://www.paypal.me/rankarpan).
118
+
92
119
More information on using customer drivers with owen-it/laravel-auditing can be found on their [homepage](http://laravel-auditing.com/docs/6.0/audit-drivers)
0 commit comments