You can use Hash::make('your password') or bcrypt('your pasword') to encrypt the password before storing . Or you can add the below method in your user model. It will automatically encrypt your password and u don't need to call bcrypt/ Hash::make()-> public function setPasswordAttribute($value){ $this->attributes['password']=bcrypt($value); }
I found out that you can create bcrypt in User model like this -> public function setPasswordAttribute($value){ $this->attributes['password'] = bcrypt($value); }