'provider', /* * Package. */ 'package' => 'package', /* * Modules. */ 'modules' => ['user'], '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', ], ], 'user' => [ 'model' => 'Provider\Package\Models\User', 'table' => 'users', 'presenter' => \Provider\Package\Repositories\Presenter\UserItemPresenter::class, 'hidden' => [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at'], 'appends' => [], 'fillable' => ['user_id', 'reporting_to', 'name', 'email', 'password', 'status', 'api_token', 'remember_token', 'sex', 'dob', 'designation', 'mobile', 'phone', 'address', 'street', 'city', 'district', 'state', 'country', 'photo', 'web', 'permissions'], 'translate' => ['reporting_to', 'name', 'email', 'password', 'status', 'api_token', 'remember_token', 'sex', 'dob', 'designation', 'mobile', 'phone', 'address', 'street', 'city', 'district', 'state', 'country', 'photo', 'web', 'permissions'], 'upload_folder' => 'package/user', 'uploads' => [ 'single' => [], 'multiple' => [], ], 'casts' => [ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ], /* 'workflow' => [ 'points' => [ 'start' => 'draft', 'end' => ['delete'], ], 'steps' => [ 'draft' => [ 'label' => "User created", 'action' => ['setStatus', 'draft'], 'next' => ['complete'], ], 'complete' => [ 'label' => "User completed", 'status' => ['setStatus', 'complete'], 'next' => ['verify'], ], 'verify' => [ 'label' => "User verified", 'action' => ['setStatus', 'verify'], 'next' => ['approve'], ], 'approve' => [ 'label' => "User approved", 'action' => ['setStatus', 'approve'], 'next' => ['publish'], ], 'publish' => [ 'label' => "User published", 'action' => ['setStatus', 'publish'], 'next' => ['unpublish', 'delete', 'target', 'archive'], ], 'unpublish' => [ 'label' => "User unpublished", 'action' => ['setStatus', 'unpublish'], 'next' => ['publish', 'target', 'archive', 'delete'], ], 'archive' => [ 'label' => "User archived", 'action' => ['setStatus', 'archive'], 'next' => ['publish', 'delete'], ], 'delete' => [ 'Label' => "User deleted", 'status' => ['delete', 'archive'], ], ], ], */ ], ];