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

json_encode() escaping forward slashes

What Is PHP Form Validation

PHP File Create/Write