https://github.com/bhavinjr/auditor-view
View dashboard for msonowal/laravel-auditor repository
https://github.com/bhavinjr/auditor-view
activity-log-laravel activity-logger laravel vue
Last synced: about 1 month ago
JSON representation
View dashboard for msonowal/laravel-auditor repository
- Host: GitHub
- URL: https://github.com/bhavinjr/auditor-view
- Owner: bhavinjr
- Created: 2019-01-31T12:40:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T14:02:57.000Z (over 6 years ago)
- Last Synced: 2025-04-14T22:53:52.336Z (about 1 month ago)
- Topics: activity-log-laravel, activity-logger, laravel, vue
- Language: Vue
- Size: 385 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Auditor view
Auditor view provides a dashboard for [msonowal/laravel-auditor](https://github.com/msonowal/laravel-auditor) package which is used for an activity log(Mongo DB)
Auditor view is created using Vue Component. Structure and theme from [(laravel/horizon)](https://github.com/laravel/horizon)
## Installation
```bash
composer require bhavinjr/auditor-view
```After installing Auditor view, publish its assets using the `vendor:publish` Artisan command:
## Dashboard Authorization
Auditor view exposes a dashboard at `/viewdit`. By default, you will only be able to access this dashboard in the local environment. To define a more specific access policy for the dashboard, you should use the `Viewdit::auth` method. The auth method accepts a callback which should return `true` or `false`, indicating whether the user should have access to the Viewdit dashboard:```bash
use Bhavinjr\Viewdit\Viewdit;Viewdit::auth(function ($request) {
return //true or false
});```
## Credits
[laravel/horizon](https://github.com/laravel/horizon) and [msonowal/laravel-auditor](https://github.com/msonowal/laravel-auditor)
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)