'litecms', /* * Package. */ 'package' => 'category', /* * Modules. */ 'modules' => ['categories'], 'categories' => [ 'model' => [ 'model' => \Litecms\Category\Models\Categories::class, 'table' => 'categories', 'presenter' => \Litecms\Category\Repositories\Presenter\CategoriesPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['categories_name', 'status'], 'translatables' => [], 'upload_folder' => 'category/categories', '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' => 'Litecms', 'package' => 'Category', 'module' => 'Categories', ], ], ];