You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
3.5 KiB

3 years ago
  1. {
  2. "name": "ramsey/uuid",
  3. "type": "library",
  4. "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).",
  5. "keywords": [
  6. "uuid",
  7. "identifier",
  8. "guid"
  9. ],
  10. "homepage": "https://github.com/ramsey/uuid",
  11. "license": "MIT",
  12. "require": {
  13. "php": "^7.2 || ^8",
  14. "ext-json": "*",
  15. "brick/math": "^0.8 || ^0.9",
  16. "ramsey/collection": "^1.0",
  17. "symfony/polyfill-ctype": "^1.8"
  18. },
  19. "require-dev": {
  20. "codeception/aspect-mock": "^3",
  21. "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7.0",
  22. "doctrine/annotations": "^1.8",
  23. "goaop/framework": "^2",
  24. "mockery/mockery": "^1.3",
  25. "moontoast/math": "^1.1",
  26. "paragonie/random-lib": "^2",
  27. "php-mock/php-mock-mockery": "^1.3",
  28. "php-mock/php-mock-phpunit": "^2.5",
  29. "php-parallel-lint/php-parallel-lint": "^1.1",
  30. "phpbench/phpbench": "^0.17.1",
  31. "phpstan/extension-installer": "^1.0",
  32. "phpstan/phpstan": "^0.12",
  33. "phpstan/phpstan-mockery": "^0.12",
  34. "phpstan/phpstan-phpunit": "^0.12",
  35. "phpunit/phpunit": "^8.5",
  36. "psy/psysh": "^0.10.0",
  37. "slevomat/coding-standard": "^6.0",
  38. "squizlabs/php_codesniffer": "^3.5",
  39. "vimeo/psalm": "3.9.4"
  40. },
  41. "suggest": {
  42. "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.",
  43. "ext-ctype": "Enables faster processing of character classification using ctype functions.",
  44. "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.",
  45. "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.",
  46. "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type.",
  47. "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter"
  48. },
  49. "config": {
  50. "sort-packages": true
  51. },
  52. "extra": {
  53. "branch-alias": {
  54. "dev-master": "4.x-dev"
  55. }
  56. },
  57. "replace": {
  58. "rhumsaa/uuid": "self.version"
  59. },
  60. "autoload": {
  61. "psr-4": {
  62. "Ramsey\\Uuid\\": "src/"
  63. },
  64. "files": [
  65. "src/functions.php"
  66. ]
  67. },
  68. "autoload-dev": {
  69. "psr-4": {
  70. "Ramsey\\Uuid\\Benchmark\\": "tests/benchmark/",
  71. "Ramsey\\Uuid\\StaticAnalysis\\": "tests/static-analysis/",
  72. "Ramsey\\Uuid\\Test\\": "tests/"
  73. }
  74. },
  75. "scripts": {
  76. "lint": "parallel-lint src tests",
  77. "phpbench": "phpbench run",
  78. "phpcbf": "phpcbf -vpw --cache=build/cache/phpcs.cache",
  79. "phpcs": "phpcs --cache=build/cache/phpcs.cache",
  80. "phpstan": [
  81. "phpstan analyse -c tests/phpstan.neon --no-progress",
  82. "phpstan analyse -c tests/phpstan-tests.neon --no-progress"
  83. ],
  84. "psalm": "psalm --show-info=false --config=tests/psalm.xml",
  85. "phpunit": "phpunit --verbose --colors=always",
  86. "phpunit-coverage": "phpunit --verbose --colors=always --coverage-html build/coverage",
  87. "test": [
  88. "@lint",
  89. "@phpbench",
  90. "@phpcs",
  91. "@phpstan",
  92. "@psalm",
  93. "@phpunit"
  94. ]
  95. },
  96. "support": {
  97. "issues": "https://github.com/ramsey/uuid/issues",
  98. "rss": "https://github.com/ramsey/uuid/releases.atom",
  99. "source": "https://github.com/ramsey/uuid"
  100. }
  101. }