keyhunter / administrator
Installs: 115
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Language:JavaScript
Requires
- php: >=5.4.0
- davejamesmiller/laravel-breadcrumbs: ~3.0.2
- intervention/image: 2.3.13
- intervention/imagecache: 2.3.*
- laravelcollective/html: ~5.2
Requires (Dev)
- codeception/codeception: 2.1.*@dev
- mockery/mockery: 0.9.*@dev
- phpspec/phpspec: 2.1.*@dev
This package is auto-updated.
Last update: 2024-11-29 04:41:27 UTC
README
This package require this packages:
composer require keyhunter/multilingual dev-master
composer require keyhunter/translatable dev-master
install this packages before installing keyhunter/administrator
Intallation
- Install the package:
composer require keyhunter/administrator dev-master
- Add ServiceProvider.php to the
$providers
in {root_project}\config\app.php :
'providers' => [
// ...
Keyhunter\Administrator\ServiceProvider::class
];
-Update AppServiceProvider from App\Providers\AppServiceProvider use Illuminate\Support\Facades\Schema; -place in public function boot() :
Schema::defaultStringLength(191);
- Remove DatabaseSeeder.php from {root_project}\database\seeds
and remove create_users_table from {root_project}\database\migrations if exists and publish files from
/vendor
:
php artisan vendor:publish
- Run this command:
composer dump-autoload
- Migrate the required tables:
php artisan migrate
- Seed the initial data to tables:
php artisan db:seed
- Go to
App\User::class
and change:
from:
use Illuminate\Foundation\Auth\User as Authenticatable;
to:
use Keyhunter\Administrator\AuthRepository as Authenticatable;
- Done. Now go to
localhost\admin
to login use:
login: admin@admin.com
pass: admin123