Download the PHP package g4t/enum without Composer
On this page you can find all versions of the php package g4t/enum. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor g4t
Package enum
Short Description PHP Enums
License MIT
Homepage https://github.com/g4t/laravel-enum
Package enum
Short Description PHP Enums
License MIT
Homepage https://github.com/g4t/laravel-enum
Please rate this library. Is it a good library?
Informations about the package enum
Laravel Enum
This package offers strongly typed enums in PHP. In this package we will change the value coming from the database and entered into it
Installation
Via Composer
Usage
use the following code in model
now go to config/enum.php
you well find this example there:
In the following code, the key is the value allowed in the database
and value is the format to be output instead of the one in the database
License
MIT. Please see the license file for more information.
All versions of enum with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
~7|~9
The package g4t/enum contains the following files
Loading the files please wait ....