'lavalite', /* * Package. */ 'package' => 'product', /* * Modules. */ 'modules' => ['product'], 'image' => [ 'sm' => [ 'width' => '140', 'height' => '140', 'action' => 'fit', 'watermark' => 'img/logo/default.png', ], 'md' => [ 'width' => '370', 'height' => '420', 'action' => 'fit', 'watermark' => 'img/logo/default.png', ], 'lg' => [ 'width' => '780', 'height' => '497', 'action' => 'fit', 'watermark' => 'img/logo/default.png', ], 'xl' => [ 'width' => '800', 'height' => '530', 'action' => 'fit', 'watermark' => 'img/logo/default.png', ], ], 'product' => [ 'model' => [ 'model' => \Lavalite\Product\Models\Product::class, 'table' => 'products', 'presenter' => \Lavalite\Product\Repositories\Presenter\ProductItemPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at'], 'appends' => [], 'fillable' => ['user_id', 'id', 'name', 'created_at', 'updated_at'], 'translatables' => [], 'upload_folder' => 'product/product', 'uploads' => [], 'casts' => [], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'controller' => [ 'provider' => 'Lavalite', 'package' => 'Product', 'module' => 'Product', ], ], ];