miladimos / laravel-toolkit
a package for collections of custom toolkit
Fund package maintenance!
idpay.ir/laravelir
Installs: 1 938
Dependents: 1
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 2
Open Issues: 0
Requires
- php: ^7.4|^8.0
- hekmatinasser/verta: *
- intervention/image: *
- webpatser/laravel-uuid: *
README
Installation
composer require miladimos/laravel-toolkit
Install Package Configs
php artisan toolkit:install
Create new helper file
php artisan make:helper {name}
default name is: helpers
if you want create empty helper file use -e|--empty option
Register helper methods globally
in composer.php file:
"autoload": { "files": [ "pathToHelperFile.php" // app/Helpers/helpers.php ], ... },
Helper Traits
Miladimos\Toolkit\Traits\RouteKeyNameUUID
Miladimos\Toolkit\Traits\HasUUID
Miladimos\Toolkit\Traits\HasTimestamps
Miladimos\Toolkit\Traits\HasTags
Miladimos\Toolkit\Traits\HasJWT
Miladimos\Toolkit\Traits\HasAuthor
Miladimos\Toolkit\Traits\HasComment
Miladimos\Toolkit\Traits\GetConstantsEnum
Miladimos\Toolkit\Traits\ApiResponder