mirror of
https://github.com/archtechx/enums.git
synced 2025-12-12 12:54:04 +00:00
* feat: comparable enum * test: comparable enum * ci: php-cs-fixer in repository scope * chore: add `Comparable` usage in README * ci: globally use `php-cs-fixer` * improve Comparable logic * test more PHP versions in CI * update ci job name * remove class name quoting in exceptions to match PHP behavior * migrate pest config * add comment to test --------- Co-authored-by: Samuel Štancl <samuel@archte.ch> Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
38 lines
854 B
JSON
38 lines
854 B
JSON
{
|
|
"name": "archtechx/enums",
|
|
"description": "Helpers for making PHP enums more lovable.",
|
|
"type": "library",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Samuel Štancl",
|
|
"email": "samuel@archte.ch"
|
|
}
|
|
],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"ArchTech\\Enums\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"ArchTech\\Enums\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"require": {
|
|
"php": "^8.1"
|
|
},
|
|
"require-dev": {
|
|
"orchestra/testbench": "^8.0",
|
|
"larastan/larastan": "^2.4",
|
|
"pestphp/pest": "^2.0",
|
|
"pestphp/pest-plugin-laravel": "^2.0"
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"config": {
|
|
"allow-plugins": {
|
|
"pestphp/pest-plugin": true
|
|
}
|
|
}
|
|
}
|