What is fillable in laravel model?

It is an array which contains all those fields of table which can be create directly new record in your Database table. Example class User extends Model { protected $fillable = ['username', 'password', 'phone']; }

Popular posts from this blog

Ajax Toggle(on/off) on-click Update

Yii Framework In Update Time View Image In Form