DEV Community

Discussion on: Laravel Form Request Tips & Tricks.

Collapse
 
devvyd profile image
Dāvis Naglis

Worse combination:

  1. Save with attributes from $request->all()
  2. Have models' $fillable full with all the attributes (including parameters, that might be used in authorization/roles) or $guarded left empty.