chore: package name change

This commit is contained in:
Victor Westerlund 2024-12-02 11:33:41 +01:00
parent 8972f06f42
commit f9fa451e83
2 changed files with 5 additions and 5 deletions

View file

@ -1,18 +1,18 @@
{
"name": "victorwesterlund/xenum",
"name": "vlw/xenum",
"description": "PHP eXtended Enums. The missing quality-of-life features from PHP 8+ Enums",
"type": "library",
"license": "GPL-3.0-only",
"authors": [
{
"name": "Victor Westerlund",
"email": "victor.vesterlund@gmail.com"
"email": "victor@vlw.se"
}
],
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"victorwesterlund\\": "src/"
"vlw\\": "src/"
}
},
"require": {}

View file

@ -1,11 +1,11 @@
<?php
namespace victorwesterlund;
namespace vlw;
/*
PHP eXtended Enums.
The missing quality-of-life features from PHP 8+ Enums.
https://github.com/victorwesterlund/php-xenum
https://codeberg.org/vlw/php-xenum
*/
trait xEnum {
// Resolve enum case from enum name or return null