Package Data | |
---|---|
Maintainer Username: | skydiver |
Package Create Date: | 2016-01-24 |
Package Last Update: | 2016-12-22 |
Home Page: | |
Language: | JavaScript |
License: | MIT |
Last Refreshed: | 2024-12-26 15:14:11 |
Package Statistics | |
---|---|
Total Downloads: | 55 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Backend dashboard for Laravel 5.3
Rapyd + AdminLTE
composer.json
"require": {
"skydiver/rapyd-dashboard": "dev-master"
},
config/app.php
Skydiver\RapydDashboard\RapydDashboardServiceProvider::class,
run the following commands:*
$ php artisan vendor:publish --provider="Skydiver\RapydDashboard\RapydDashboardServiceProvider"
$ php artisan vendor:publish --provider="Zofe\Rapyd\RapydServiceProvider" --tag=assets
$ php artisan migrate
Delete folder
app/Http/Controllers/Auth
config/auth.php
'model' => Skydiver\RapydDashboard\Models\User::class,
config/services.php
'google' => [
'client_id' => env('GOOGLE_CLIENT_ID'),
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
'redirect' => env('GOOGLE_REDIRECT'),
],
app/Http/Middleware/VerifyCsrfToken.php
protected $except = ['dashboard/adminer'];
app/Http/Middleware/RedirectIfAuthenticated.php
replace
return redirect('/home');
with
return redirect()->route('dashboard-home');