Download the PHP package outerweb/enum-helpers without Composer
On this page you can find all versions of the php package outerweb/enum-helpers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download outerweb/enum-helpers
More information about outerweb/enum-helpers
Files in outerweb/enum-helpers
Download outerweb/enum-helpers
More information about outerweb/enum-helpers
Files in outerweb/enum-helpers
Vendor outerweb
Package enum-helpers
Short Description Laravel traits to enhance php enums
License MIT
Homepage https://github.com/outer-web/enum-helpers
Package enum-helpers
Short Description Laravel traits to enhance php enums
License MIT
Homepage https://github.com/outer-web/enum-helpers
Please rate this library. Is it a good library?
Informations about the package enum-helpers
Enum Helpers
This package provides Laravel specific helpers for working with enums.
- \Illuminate\Support\Collection support via the
HasCollectionSupport
trait.
Installation
You can install the package via composer:
Usage
Collection support
You can now get a collection of all th cases by calling:
You can also get a collection of all the labels by calling:
Suggestions?
If you have any suggestions for extra enum helpers, please create an issue or a pull request.
Laravel support
Laravel Version | Package version |
---|---|
^11.0 | ^1.0.1 |
^10.0 | ^1.0.0 |
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Simon Broekaert
- All Contributors
License
MIT License (MIT). Read the License File for more information.
All versions of enum-helpers with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
laravel/framework Version ^10.0|^11.0
spatie/laravel-package-tools Version ^1.16
laravel/framework Version ^10.0|^11.0
spatie/laravel-package-tools Version ^1.16
The package outerweb/enum-helpers contains the following files
Loading the files please wait ....