add fillable from array in laravel code example Example: laravel get fillable attributes $model = new Demo(); dd($model->getFillable());