composer.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "halaxa/json-machine",
  3. "description": "Efficient, easy-to-use and fast JSON pull parser",
  4. "license": "Apache-2.0",
  5. "authors": [
  6. {
  7. "name": "Filip Halaxa",
  8. "email": "filip@halaxa.cz"
  9. }
  10. ],
  11. "scripts": {
  12. "tests": "build/composer-update.sh && vendor/bin/phpunit",
  13. "tests-coverage": "build/composer-update.sh && XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover clover.xml",
  14. "cs-check": "build/composer-update.sh && vendor/bin/php-cs-fixer fix --dry-run --verbose --allow-risky=yes",
  15. "cs-fix": "build/composer-update.sh && vendor/bin/php-cs-fixer fix --verbose --allow-risky=yes",
  16. "phpstan": "build/composer-update.sh && vendor/bin/phpstan analyse",
  17. "performance-tests": "php -d xdebug.mode=off -d opcache.enable_cli=1 -d opcache.jit_buffer_size=100M test/performance/testPerformance.php"
  18. },
  19. "config": {
  20. "lock": false,
  21. "sort-packages": true
  22. },
  23. "require": {
  24. "php": "7.0 - 8.3"
  25. },
  26. "require-dev": {
  27. "ext-json": "*",
  28. "friendsofphp/php-cs-fixer": "^3.0",
  29. "phpstan/phpstan": "^1.10",
  30. "phpunit/phpunit": "^8.0"
  31. },
  32. "suggest": {
  33. "ext-json": "To run JSON Machine out of the box without custom decoders.",
  34. "guzzlehttp/guzzle": "To run example with GuzzleHttp"
  35. },
  36. "autoload": {
  37. "psr-4": {"JsonMachine\\": "src/"},
  38. "exclude-from-classmap": ["src/autoloader.php"]
  39. },
  40. "autoload-dev": {
  41. "psr-4": {"JsonMachineTest\\": "test/JsonMachineTest"}
  42. },
  43. "funding": [
  44. {
  45. "type": "other",
  46. "url": "https://ko-fi.com/G2G57KTE4"
  47. }
  48. ]
  49. }