onestartup/user-admin

Module for create user in dashboard

0.0.3 2018-06-18 19:25 UTC

This package is not auto-updated.

Last update: 2024-05-01 22:46:32 UTC


README

onestartup/user-admin is a module manage user of our project

Installation

  • Run this in the terminal
    composer require onestartup/user-admin
    
  • after add the ServiceProvider to the providers array in config/app.php
    Onestartup\UserAdmin\UserAdminProvider::class,
    
  • Run migration
    php artisan migrate
    
  • add next lines to app/User.php
    protected $fillable = [
          'name', 'email', 'password','short_bio', 'rol_id'
      ];
    
  • run serv
    php artisan serve
    
  • test in this route how admin user
    http://localhost:8000/admin/user