'litepie', /* * Package. */ 'package' => 'newsletter', /* * Modules. */ 'modules' => ['newsletter'], 'newsletter' => [ 'model' => [ 'model' => \Litepie\Newsletter\Models\Newsletter::class, 'repository' => \Litepie\Newsletter\Repositories\Eloquent\NewsletterRepository::class, 'table' => 'newsletters', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'slug', 'name', 'email', 'phone', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'newsletter/newsletter', 'uploads' => [ /* 'images' => [ 'count' => 10, 'type' => 'image', ], 'file' => [ 'count' => 1, 'type' => 'file', ], */ ], 'casts' => [ /* 'images' => 'array', 'file' => 'array', */ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'controller' => [ 'provider' => 'Litepie', 'package' => 'Newsletter', 'module' => 'Newsletter', ], ], ];