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

dev-master 2016-12-22 22:41 UTC

This package is auto-updated.

Last update: 2024-11-17 14:25:42 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');