PHPackages                             tkachikov/enum-values - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. tkachikov/enum-values

ActiveLibrary

tkachikov/enum-values
=====================

Set methods for get values and keys from a enum

0.0.1(2y ago)05.0k↓44.4%MITPHP

Since Sep 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/tkachikov/enum-values)[ Packagist](https://packagist.org/packages/tkachikov/enum-values)[ RSS](/packages/tkachikov-enum-values/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Enum Values Trait
=================

[](#enum-values-trait)

Description
-----------

[](#description)

This PHP package provides a trait `EnumValuesTrait` that adds utility methods for working with enumerations (enums).

Installation
------------

[](#installation)

To install the package, run the following command:

```
composer require tkachikov/enum-values
```

Usage
-----

[](#usage)

Include the trait into your enum class:

```
