Package Data | |
---|---|
Maintainer Username: | KABBOUCHI |
Maintainer Contact: | georges.kabbouchi@gmail.com (Georges KABBOUCHI) |
Package Create Date: | 2018-02-20 |
Package Last Update: | 2023-02-20 |
Home Page: | |
Language: | JavaScript |
License: | MIT |
Last Refreshed: | 2024-11-15 03:03:26 |
Package Statistics | |
---|---|
Total Downloads: | 338,813 |
Monthly Downloads: | 2,144 |
Daily Downloads: | 109 |
Total Stars: | 25 |
Total Watchers: | 3 |
Total Forks: | 5 |
Total Open Issues: | 5 |
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