bantenprov / form-auth
Nama Prestasi
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 3
Open Issues: 1
Language:Vue
Requires
- php: >=5.6.4
- illuminate/support: 5.4.*
This package is not auto-updated.
Last update: 2024-12-17 18:17:36 UTC
README
form-auth
Install via composer
$ composer require bantenprov/form-auth:dev-master
Edit config/app.php
'providers' => [ //...... Bantenprov\FormAuth\FormAuthServiceProvider::class,
artisan command
$ php artisan vendor:publish --tag=form-auth-assets --force && php artisan migrate
$ php artisan form-auth:setup
edit app/User.php
/** * The accessors to append to the model's array form. * * @var array */ protected $appends = [ 'photo_url', //========= 'redirect', ]; /* .................. */ /** * Get the redirect attribute. * * @return string */ public function getRedirectAttribute() { return 'siswa.pendaftaran-wizard'; }
edit .evn
DEFAULT_USER_ROLE=siswa
add new role
Vue trust > Role > [+]
+-------+--------------+
| name | display name |
+-------+--------------+
| siswa | Siswa |
+-------+--------------+