'litepie', /* * Package. */ 'package' => 'blog', /* * Modules. */ 'modules' => ['blog', 'category', 'comment', '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', 'caption', 'description', 'images', 'tags', 'viewcount', 'slug', 'meta_title', 'meta_description', 'meta_keyword', 'published', 'published_at', 'user_type', 'user_id', 'upload_folder', 'deleted_at', 'created_at', 'updated_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', 'user_type', 'user_id', 'upload_folder', 'deleted_at', 'created_at', 'updated_at'], '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', ], ], 'comment' => [ 'model' => [ 'model' => \Litepie\Blog\Models\Comment::class, 'table' => 'comments', 'presenter' => \Litepie\Blog\Repositories\Presenter\CommentPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['id', 'comment', 'author', 'email', 'mobile', 'slug', 'published', 'user_id', 'user_type', 'blog_id', 'deleted_at', 'created_at', 'updated_at'], 'translatables' => [], 'upload_folder' => 'blog/comment', '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' => 'Comment', ], ], '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', 'frequency', 'slug', 'status', 'deleted_at', 'created_at', 'updated_at'], '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', ], ], ];