odenktools / kampus
dev-master
2016-02-26 17:02 UTC
Requires
- php: >=5.5.9
- illuminate/contracts: ~5.1
- illuminate/support: 5.1.*
This package is auto-updated.
Last update: 2024-11-10 06:13:49 UTC
README
======================================
#Install
Cara Install, masukan kode berikut ke dalam composer.json Anda.
"require-dev": {
"odenktools/kampus": "dev-master"
}
Save, dan jalankan command prompt
composer update --dev
#Setup
Setelah itu tambahkan Service Provider ke providers
array di config/app.php
'providers' => [
..
Odenktools\Kampus\KampusServiceProvider::class,
]
Tambahkan Alias ke aliases
array di config/app.php
'aliases' => [
..
'Kampus' => Odenktools\Kampus\Facades\Kampus::class,
]
#Publish config dan migrasi database
Jalankan command prompt
php artisan vendor:publish --provider="Odenktools\Kampus\KampusServiceProvider"
composer dumpautoload
php artisan migrate
php artisan db:seed --class=KampusSeeder
#References