mirror of
https://codeberg.org/vlw/php-xenum.git
synced 2025-09-13 20:23:41 +02:00
doc(chore): update namespace references in README
This commit is contained in:
parent
f9fa451e83
commit
b43c1b60d1
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ This library adds a few useful traits to your PHP Enums that compliment existing
|
|||
For example,
|
||||
|
||||
```php
|
||||
use \victorwesterlund\xEnum;
|
||||
use vlw\xEnum;
|
||||
|
||||
enum HelloWorld: string {
|
||||
use xEnum;
|
||||
|
@ -28,12 +28,12 @@ Requires PHP 8.0 or newer
|
|||
|
||||
1. **Install from composer**
|
||||
```
|
||||
composer require victorwesterlund/xenum
|
||||
composer require vlw/xenum
|
||||
```
|
||||
|
||||
2. **`use` in your project**
|
||||
```php
|
||||
use \victorwesterlund\xEnum;
|
||||
use vlw\xEnum;
|
||||
```
|
||||
|
||||
3. **`use` with your Enums**
|
||||
|
|
Loading…
Add table
Reference in a new issue