odenktools/kampus

dev-master 2016-02-26 17:02 UTC

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

Laravel Official Facades

Laravel Official Service Providers

Laravel Official Contracts

Laravel Official Seed