'litepie', /* * Package. */ 'package' => 'blog', /* * Modules. */ 'modules' => ['blog', 'category', 'tag'], 'blog' => [ 'model' => [ 'model' => \Litepie\Blog\Models\Blog::class, 'table' => 'blogs', 'presenter' => \Litepie\Blog\Repositories\Presenter\BlogPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'category_id', 'title', 'slug', 'status', 'image', 'description', 'tags', 'user_type', 'user_id', 'created_at', 'updated_at', 'deleted_at'], 'translatables' => [], 'upload_folder' => 'blog/blog', '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' => 'Blog', 'module' => 'Blog', ], ], 'category' => [ 'model' => [ 'model' => \Litepie\Blog\Models\Category::class, 'table' => 'categories', 'presenter' => \Litepie\Blog\Repositories\Presenter\CategoryPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'name', 'slug', 'status'], 'translatables' => [], 'upload_folder' => 'blog/category', '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' => 'Blog', 'module' => 'Category', ], ], 'tag' => [ 'model' => [ 'model' => \Litepie\Blog\Models\Tag::class, 'table' => 'tags', 'presenter' => \Litepie\Blog\Repositories\Presenter\TagPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'name', 'slug', 'status'], 'translatables' => [], 'upload_folder' => 'blog/tag', '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' => 'Blog', 'module' => 'Tag', ], ], ];