2017 © Pedro Peláez
 

library form-auth

Nama Prestasi

image

bantenprov/form-auth

Nama Prestasi

  • Vue
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 1 Versions
  • 18 % Grown

The README.md

form-auth

form-auth, (*1)

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    |
+-------+--------------+

The Versions

09/05 2018

dev-master

9999999-dev

Nama Prestasi

  Sources   Download

MIT

The Requires