insert( [ 'name'=>'SystemUser', 'email'=>'system@localhost.local', 'password'=>Hash::make(Str::random(16)), ] ); DB::table('users')->insert( [ 'name'=>'admin', 'email'=>env('SYSADMIN_MAIL'), 'password'=>Hash::make('admin'), ] ); } }