Rust-style Option and Result Classes for PHP
1{
2 "name": "ciarancoza/option-result",
3 "description": "Rust-like Option and Result Classes for PHP",
4 "type": "library",
5 "license": "MIT",
6 "autoload": {
7 "psr-4": {
8 "Ciarancoza\\OptionResult\\": "src/"
9 }
10 },
11 "authors": [
12 {
13 "name": "Ciaran",
14 "email": "cslemon96@gmail.com"
15 }
16 ],
17 "require-dev": {
18 "phpunit/phpunit": "^12.4",
19 "laravel/pint": "^1.25",
20 "phpdocumentor/phpdocumentor": "v3.9.0",
21 "saggre/phpdocumentor-markdown": "^1.0"
22 },
23 "scripts": {
24 "test": "./vendor/bin/phpunit --testdox tests",
25 "lint": "./vendor/bin/pint",
26 "docs": "./vendor/bin/phpdoc run -d $(pwd)/src -t $(pwd)/docs --template='vendor/saggre/phpdocumentor-markdown/themes/markdown'",
27 "release": "composer lint && composer test && composer docs"
28 }
29}