kabbouchi / laravel-ward
Installs: 341 437
Dependents: 1
Suggesters: 0
Security: 0
Stars: 25
Watchers: 3
Forks: 5
Open Issues: 5
Language:JavaScript
Requires
- illuminate/contracts: 5.5.*|5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0
- illuminate/queue: 5.5.*|5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0
- illuminate/support: 5.5.*|5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-12-20 19:44:01 UTC
README
Manage Your Laravel Log From A Web Dashboard
Install
composer require kabbouchi/laravel-ward php artisan vendor:publish --tag=ward-config php artisan vendor:publish --tag=ward-assets --force
Add WardServiceProvider to the providers array of your Laravel v5.4 application's config/app.php
KABBOUCHI\Ward\Providers\WardServiceProvider::class,
Web Dashboard Laravel Ward's dashboard is inspired by Laravel Horizon. Just like Horizon you can configure authentication to Ward's dashboard. Add the following to the boot method of your AppServiceProvider or wherever you might seem fit.
use KABBOUCCHI\Ward\Ward; Ward::auth(function($request) { // return true / false . For e.g. return Auth::check(); });
By default Ward's dashboard only works in local environment. To view the dashboard point your browser to /ward of your app or change the uri
in config/ward.php
. For e.g. http://laravel.test/ward