In Laravel, when you make model you need to add "fillable" or "guarded" to store/update records. The columns that are set in "$fillable" are supposed to be mass assigned.
//BookModel.php ... use Illuminate\Database\Eloquent\Model; class Book extends Model { protected $fillable=[ 'title','author' ]; }
If you forget to add "$fillable" or "$guarded", you will get an error as below.
('autor' should be 'author') in "$fillable", for example, protected $fillable=[ 'title','autor' ]; you will get an error, of course.