composer.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "moneyphp/money",
  3. "description": "PHP implementation of Fowler's Money pattern",
  4. "keywords": [
  5. "money",
  6. "vo",
  7. "value object"
  8. ],
  9. "homepage": "http://moneyphp.org",
  10. "license": "MIT",
  11. "authors": [
  12. {
  13. "name": "Mathias Verraes",
  14. "email": "mathias@verraes.net",
  15. "homepage": "http://verraes.net"
  16. },
  17. {
  18. "name": "Márk Sági-Kazár",
  19. "email": "mark.sagikazar@gmail.com"
  20. },
  21. {
  22. "name": "Frederik Bosch",
  23. "email": "f.bosch@genkgo.nl"
  24. }
  25. ],
  26. "require": {
  27. "php": ">=5.6",
  28. "ext-json": "*"
  29. },
  30. "require-dev": {
  31. "ext-bcmath": "*",
  32. "ext-gmp": "*",
  33. "ext-intl": "*",
  34. "cache/taggable-cache": "^0.4.0",
  35. "doctrine/instantiator": "^1.0.5",
  36. "florianv/exchanger": "^1.0",
  37. "florianv/swap": "^3.0",
  38. "friends-of-phpspec/phpspec-code-coverage": "^3.1.1 || ^4.3",
  39. "moneyphp/iso-currencies": "^3.2.1",
  40. "php-http/message": "^1.4",
  41. "php-http/mock-client": "^1.0.0",
  42. "phpspec/phpspec": "^3.4.3",
  43. "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.18 || ^8.5",
  44. "psr/cache": "^1.0",
  45. "symfony/phpunit-bridge": "^4"
  46. },
  47. "suggest": {
  48. "ext-bcmath": "Calculate without integer limits",
  49. "ext-gmp": "Calculate without integer limits",
  50. "ext-intl": "Format Money objects with intl",
  51. "florianv/exchanger": "Exchange rates library for PHP",
  52. "florianv/swap": "Exchange rates library for PHP",
  53. "psr/cache-implementation": "Used for Currency caching"
  54. },
  55. "config": {
  56. "sort-packages": true
  57. },
  58. "extra": {
  59. "branch-alias": {
  60. "dev-master": "3.x-dev"
  61. }
  62. },
  63. "autoload": {
  64. "psr-4": {
  65. "Money\\": "src/"
  66. }
  67. },
  68. "autoload-dev": {
  69. "psr-4": {
  70. "Tests\\Money\\": "tests/",
  71. "spec\\Money\\": "spec/"
  72. }
  73. },
  74. "minimum-stability": "dev",
  75. "prefer-stable": true,
  76. "scripts": {
  77. "clean": "rm -rf build/ vendor/",
  78. "test": [
  79. "vendor/bin/phpspec run",
  80. "vendor/bin/phpunit -v"
  81. ],
  82. "test-coverage": [
  83. "vendor/bin/phpspec run -c phpspec.ci.yml",
  84. "vendor/bin/phpunit -v --coverage-text --coverage-clover=build/unit_coverage.xml"
  85. ],
  86. "update-currencies": [
  87. "cp vendor/moneyphp/iso-currencies/resources/current.php resources/currency.php",
  88. "php resources/generate-money-factory.php"
  89. ]
  90. }
  91. }