composer.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "league/uri-interfaces",
  3. "description" : "Common interface for URI representation",
  4. "keywords": [
  5. "url",
  6. "uri",
  7. "rfc3986",
  8. "rfc3987"
  9. ],
  10. "license": "MIT",
  11. "homepage": "http://github.com/thephpleague/uri-interfaces",
  12. "authors": [
  13. {
  14. "name" : "Ignace Nyamagana Butera",
  15. "email" : "nyamsprod@gmail.com",
  16. "homepage" : "https://nyamsprod.com"
  17. }
  18. ],
  19. "funding": [
  20. {
  21. "type": "github",
  22. "url": "https://github.com/sponsors/nyamsprod"
  23. }
  24. ],
  25. "require": {
  26. "php" : "^7.1 || ^8.0",
  27. "ext-json": "*"
  28. },
  29. "require-dev": {
  30. "friendsofphp/php-cs-fixer": "^2.0",
  31. "phpstan/phpstan": "^0.12",
  32. "phpstan/phpstan-strict-rules": "^0.12",
  33. "phpstan/phpstan-phpunit": "^0.12"
  34. },
  35. "autoload": {
  36. "psr-4": {
  37. "League\\Uri\\": "src/"
  38. }
  39. },
  40. "scripts": {
  41. "phpcs": "php-cs-fixer fix -v --diff --dry-run --allow-risky=yes --ansi",
  42. "phpstan": "phpstan analyse -l max -c phpstan.src.neon src --ansi",
  43. "test": ["@phpcs", "@phpstan"]
  44. },
  45. "scripts-descriptions": {
  46. "phpcs":"Runs coding style test suite",
  47. "phpstan":"Runs php static code analysis compliance test",
  48. "test": "Runs all the test suite"
  49. },
  50. "extra": {
  51. "branch-alias": {
  52. "dev-master": "2.x-dev"
  53. }
  54. }
  55. }