'youssef', /* * Package. */ 'package' => 'newcm', /* * Modules. */ 'modules' => ['page', 'category'], 'page' => [ 'model' => [ 'model' => \Youssef\Newcm\Models\Page::class, 'table' => 'pages', 'presenter' => \Youssef\Newcm\Repositories\Presenter\PagePresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['title'], 'translatables' => [], 'upload_folder' => 'newcm/page', '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' => 'Youssef', 'package' => 'Newcm', 'module' => 'Page', ], ], 'category' => [ 'model' => [ 'model' => \Youssef\Newcm\Models\Category::class, 'table' => 'categories', 'presenter' => \Youssef\Newcm\Repositories\Presenter\CategoryPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'createdat', 'updated_at'], 'appends' => [], 'fillable' => ['title', 'page_id'], 'translatables' => [], 'upload_folder' => 'newcm/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' => 'Youssef', 'package' => 'Newcm', 'module' => 'Category', ], ], ];