Skip to content

Commit 8eb13fc

Browse files
committed
update Readme.md
1 parent 1012b9f commit 8eb13fc

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Readme.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Latest Version on Packagist](https://img.shields.io/packagist/v/dvlpr1996/php-enum-helper-trait?style=flat)](https://packagist.org/packages/dvlpr1996/php-enum-helper-trait)
55
[![Total Downloads](https://img.shields.io/packagist/dt/dvlpr1996/php-enum-helper-trait)](https://packagist.org/packages/dvlpr1996/php-enum-helper-trait)
66

7-
A PHP trait designed to simplify and enhance the functionality of enums. This package provides utility methods and features that make working with enums more intuitive and efficient. Ideal for developers looking to streamline their enum handling in PHP applications
7+
This package provides a trait designed to simplify and enhance the functionality of enums in PHP applications. It offers utility methods and features that make working with enums more intuitive and efficient, ideal for developers looking to streamline their enum handling in PHP applications.
88

99
## Requirements
1010

@@ -20,6 +20,15 @@ composer require dvlpr1996/php-enum-helper-trait
2020

2121
## Usage
2222

23+
```php
24+
use PhpEnumHelperTrait\EnumHelperTrait;
25+
26+
enum Foo: string {
27+
use EnumHelperTrait;
28+
29+
// Your Additional Cases, Methods And Properties...
30+
}
31+
```
2332
## Documentation
2433

2534
See the [documentation](https://github.com/dvlpr1996/php-enum-helper-trait/wiki) for detailed installation and usage instructions.

0 commit comments

Comments
 (0)