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