68 lines
2.1 KiB
JSON
68 lines
2.1 KiB
JSON
|
|
{
|
||
|
|
"name": "ramsey/collection",
|
||
|
|
"description": "A PHP 7.2+ library for representing and manipulating collections.",
|
||
|
|
"type": "library",
|
||
|
|
"keywords": ["array", "collection", "hash", "map", "queue", "set"],
|
||
|
|
"homepage": "https://github.com/ramsey/collection",
|
||
|
|
"license": "MIT",
|
||
|
|
"authors": [
|
||
|
|
{
|
||
|
|
"name": "Ben Ramsey",
|
||
|
|
"email": "ben@benramsey.com",
|
||
|
|
"homepage": "https://benramsey.com"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"support": {
|
||
|
|
"issues": "https://github.com/ramsey/collection/issues",
|
||
|
|
"source": "https://github.com/ramsey/collection"
|
||
|
|
},
|
||
|
|
"require": {
|
||
|
|
"php": "^7.2"
|
||
|
|
},
|
||
|
|
"require-dev": {
|
||
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
|
||
|
|
"fzaninotto/faker": "^1.5",
|
||
|
|
"jakub-onderka/php-parallel-lint": "^1",
|
||
|
|
"jangregor/phpstan-prophecy": "^0.6",
|
||
|
|
"mockery/mockery": "^1.3",
|
||
|
|
"phpstan/extension-installer": "^1",
|
||
|
|
"phpstan/phpdoc-parser": "0.4.1",
|
||
|
|
"phpstan/phpstan": "^0.12",
|
||
|
|
"phpstan/phpstan-mockery": "^0.12",
|
||
|
|
"phpstan/phpstan-phpunit": "^0.12",
|
||
|
|
"phpunit/phpunit": "^8.5",
|
||
|
|
"slevomat/coding-standard": "^6.0",
|
||
|
|
"squizlabs/php_codesniffer": "^3.5"
|
||
|
|
},
|
||
|
|
"autoload": {
|
||
|
|
"psr-4": {
|
||
|
|
"Ramsey\\Collection\\": "src/"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"autoload-dev": {
|
||
|
|
"psr-4": {
|
||
|
|
"Ramsey\\Collection\\Test\\": "tests/"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"scripts": {
|
||
|
|
"lint": "parallel-lint src tests",
|
||
|
|
"phpcbf": "phpcbf -vpw",
|
||
|
|
"phpcs": "phpcs",
|
||
|
|
"phpstan": [
|
||
|
|
"phpstan analyse src -c phpstan.neon --level max --no-progress",
|
||
|
|
"phpstan analyse tests -c phpstan-tests.neon --level max --no-progress"
|
||
|
|
],
|
||
|
|
"phpunit": "phpunit --verbose --colors=always",
|
||
|
|
"phpunit-coverage": "phpunit --verbose --colors=always --coverage-html build/coverage",
|
||
|
|
"test": [
|
||
|
|
"@lint",
|
||
|
|
"@phpcs",
|
||
|
|
"@phpstan",
|
||
|
|
"@phpunit"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"config": {
|
||
|
|
"sort-packages": true
|
||
|
|
}
|
||
|
|
}
|