composer.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. "license": "MIT",
  11. "require": {
  12. "php": "^7.2 || ^8.0",
  13. "ext-json": "*",
  14. "brick/math": "^0.8 || ^0.9",
  15. "ramsey/collection": "^1.0",
  16. "symfony/polyfill-ctype": "^1.8",
  17. "symfony/polyfill-php80": "^1.14"
  18. },
  19. "replace": {
  20. "rhumsaa/uuid": "self.version"
  21. },
  22. "require-dev": {
  23. "captainhook/captainhook": "^5.10",
  24. "captainhook/plugin-composer": "^5.3",
  25. "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
  26. "doctrine/annotations": "^1.8",
  27. "ergebnis/composer-normalize": "^2.15",
  28. "mockery/mockery": "^1.3",
  29. "moontoast/math": "^1.1",
  30. "paragonie/random-lib": "^2",
  31. "php-mock/php-mock": "^2.2",
  32. "php-mock/php-mock-mockery": "^1.3",
  33. "php-parallel-lint/php-parallel-lint": "^1.1",
  34. "phpbench/phpbench": "^1.0",
  35. "phpstan/extension-installer": "^1.0",
  36. "phpstan/phpstan": "^0.12",
  37. "phpstan/phpstan-mockery": "^0.12",
  38. "phpstan/phpstan-phpunit": "^0.12",
  39. "phpunit/phpunit": "^8.5 || ^9",
  40. "slevomat/coding-standard": "^7.0",
  41. "squizlabs/php_codesniffer": "^3.5",
  42. "vimeo/psalm": "^4.9"
  43. },
  44. "suggest": {
  45. "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.",
  46. "ext-ctype": "Enables faster processing of character classification using ctype functions.",
  47. "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.",
  48. "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.",
  49. "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter",
  50. "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type."
  51. },
  52. "config": {
  53. "sort-packages": true
  54. },
  55. "extra": {
  56. "branch-alias": {
  57. "dev-main": "4.x-dev"
  58. },
  59. "captainhook": {
  60. "force-install": true
  61. }
  62. },
  63. "autoload": {
  64. "psr-4": {
  65. "Ramsey\\Uuid\\": "src/"
  66. },
  67. "files": [
  68. "src/functions.php"
  69. ]
  70. },
  71. "autoload-dev": {
  72. "psr-4": {
  73. "Ramsey\\Uuid\\Benchmark\\": "tests/benchmark/",
  74. "Ramsey\\Uuid\\StaticAnalysis\\": "tests/static-analysis/",
  75. "Ramsey\\Uuid\\Test\\": "tests/"
  76. }
  77. },
  78. "minimum-stability": "dev",
  79. "prefer-stable": true,
  80. "scripts": {
  81. "analyze": [
  82. "@phpstan",
  83. "@psalm"
  84. ],
  85. "build:clean": "git clean -fX build/",
  86. "lint": "parallel-lint src tests",
  87. "lint:paths": "parallel-lint",
  88. "phpbench": "phpbench run",
  89. "phpcbf": "phpcbf -vpw --cache=build/cache/phpcs.cache",
  90. "phpcs": "phpcs --cache=build/cache/phpcs.cache",
  91. "phpstan": [
  92. "phpstan analyse --no-progress",
  93. "phpstan analyse -c phpstan-tests.neon --no-progress"
  94. ],
  95. "phpunit": "phpunit --verbose --colors=always",
  96. "phpunit-coverage": "phpunit --verbose --colors=always --coverage-html build/coverage",
  97. "psalm": "psalm --show-info=false --config=psalm.xml",
  98. "test": [
  99. "@lint",
  100. "@phpbench",
  101. "@phpcs",
  102. "@phpstan",
  103. "@psalm",
  104. "@phpunit"
  105. ]
  106. }
  107. }