bantenprov / siswa-pendaftaran
Siswa Pendaftaran
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Language:Vue
Requires
- php: >=5.6.4
- illuminate/support: 5.4.*
- santigarcor/laratrust: 5.0.*
This package is not auto-updated.
Last update: 2024-08-27 17:05:50 UTC
README
siswa-pendaftaran
install via composer
composer require bantenprov/siswa-pendaftaran:dev-master
module ini membutuhkan data-akademik
install module data-akademik
composer require bantenprov/data-akademik:dev-master
edit config/app.php
( data-akademik
)
'providers' => [ /* * Package Service Providers... */ Laravel\Tinker\TinkerServiceProvider::class, //.... Bantenprov\DataAkademik\DataAkademikServiceProvider::class,
edit config/app.php
( siswa-pendaftaran
)
'providers' => [ Laratrust\LaratrustServiceProvider::class, Bantenprov\SiswaPendaftaran\SiswaPendaftaranServiceProvider::class,
'aliases' => [ 'Laratrust' => Laratrust\LaratrustFacade::class,
artisan command
php artisan vendor:publish --tag=siswa-pendaftaran-assets --force
php artisan laratrust:role
php artisan laratrust:permission
php artisan bantenprov:siswa-pendaftaran-install
edit model app/User.php
//App/User.php /** * The accessors to append to the model's array form. * * @var array */ protected $appends = [ 'photo_url', /* --------- */ 'redirect', /* --------- */ ];
//App/User.php /** * Get the redirect attribute. * * @return string */ public function getRedirectAttribute() { return 'siswa.pendaftaran-wizard'; }
jika role siswa
belum ada silahkan tambahkan role siswa
pada vue-trust > role
name = siswa
display name = Siswa
description = role untuk siswa
add to .env
DEFAULT_USER_ROLE=siswa
CHECK_NOMOR_UN=true