skydiver / rapyd-dashboard
Backend dashboard for Laravel 5
Installs: 55
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: >=5.6.4
- laravel/framework: 5.3.*
- laravel/socialite: ^2.0
- skydiver/laravel-adminer: ~4.2.0
- thomaswelton/laravel-gravatar: ~1.0
- zofe/rapyd: 2.2.*
This package is auto-updated.
Last update: 2024-12-17 14:43:36 UTC
README
Backend dashboard for Laravel 5.3
Rapyd + AdminLTE
Instructions
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');