src/Commands/QuickAdminInstall.php
public function createUser()
    {
        $data['name']     = $this->ask('Administrator name');
        $data['email']    = $this->ask('Administrator email');
        $data['password'] = bcrypt($this->secret('Administrator password'));
        $data['role_id']  = 1;
        User::create($data);
        $this->info('User has been created');
    }
public function createUser()
    {
        $data['name']     = $this->ask('Administrator name');
        $data['email']    = $this->ask('Administrator email');
        $data['password'] = bcrypt($this->secret('Administrator password'));
        $data['role_id']  = 1;
        User::create($data);
        $this->info('User has been created');
    }
public function createUser ( ) { $ data [ 'name' ] = $ this -> ask ( 'Administrator name' ) ; $ data [ 'email' ] = $ this -> ask ( 'Administrator email' ) ; $ data [ 'password' ] = bcrypt ( $ this -> secret ( 'Administrator password' ) ) ; $ data [ 'role_id' ] = 1 ; User :: create ( $ data ) ; $ this -> info ( 'User has been created' ) ; }
Create first user
Create first user