Download the PHP package kpebedko22/laravel-enum without Composer
On this page you can find all versions of the php package kpebedko22/laravel-enum. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-enum
Enum Package
Installation
Commands
Make Enum Command
There is a command for creating enum classes in app\Enums\
folder:
For example:
Option -W
is responsible for questions during creating enum class. User will be asked for:
- Constants (separated by comma)
- Primary key type (int / string)
- Primary key name (e.g. 'id', 'key')
- Fillable attributes (separated by comma)
Publishing stub
php artisan vendor:publish --tag=enum-package-stubs
Publishing translations
If you wish to translate the package, you may publish the language files using:
php artisan vendor:publish --tag=enum-package-translations
All versions of laravel-enum with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
illuminate/contracts Version ^9.0|^10.0
illuminate/support Version ^9.0|^10.0
illuminate/database Version ^9.0|^10.0
illuminate/console Version ^9.0|^10.0
illuminate/contracts Version ^9.0|^10.0
illuminate/support Version ^9.0|^10.0
illuminate/database Version ^9.0|^10.0
illuminate/console Version ^9.0|^10.0
The package kpebedko22/laravel-enum contains the following files
Loading the files please wait ....