composer.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "league/uri-parser",
  3. "type": "library",
  4. "description" : "userland URI parser RFC 3986 compliant",
  5. "keywords": [
  6. "url",
  7. "uri",
  8. "rfc3986",
  9. "rfc3987",
  10. "parse_url",
  11. "parser"
  12. ],
  13. "license": "MIT",
  14. "homepage": "https://github.com/thephpleague/uri-parser",
  15. "authors": [
  16. {
  17. "name" : "Ignace Nyamagana Butera",
  18. "email" : "nyamsprod@gmail.com",
  19. "homepage" : "https://nyamsprod.com"
  20. }
  21. ],
  22. "require": {
  23. "php" : ">=7.0.0"
  24. },
  25. "require-dev": {
  26. "friendsofphp/php-cs-fixer": "^2.0",
  27. "phpunit/phpunit" : "^6.0",
  28. "phpstan/phpstan": "^0.9.2",
  29. "phpstan/phpstan-strict-rules": "^0.9.0",
  30. "phpstan/phpstan-phpunit": "^0.9.4"
  31. },
  32. "autoload": {
  33. "psr-4": {
  34. "League\\Uri\\": "src"
  35. },
  36. "files": ["src/functions_include.php"]
  37. },
  38. "autoload-dev": {
  39. "psr-4": {
  40. "LeagueTest\\Uri\\Parser\\": "tests"
  41. }
  42. },
  43. "suggest": {
  44. "ext-intl" : "Allow parsing RFC3987 compliant hosts",
  45. "league/uri-schemes": "Allow validating and normalizing URI parsing results"
  46. },
  47. "scripts": {
  48. "phpcs": "php-cs-fixer fix -v --diff --dry-run --allow-risky=yes;",
  49. "phpstan-src": "phpstan analyse -l 7 -c phpstan.src.neon src",
  50. "phpstan-tests": "phpstan analyse -l 7 -c phpstan.tests.neon tests",
  51. "phpstan": [
  52. "@phpstan-src",
  53. "@phpstan-tests"
  54. ],
  55. "phpunit": "phpunit --coverage-text",
  56. "test": [
  57. "@phpunit",
  58. "@phpcs",
  59. "@phpstan"
  60. ]
  61. },
  62. "extra": {
  63. "branch-alias": {
  64. "dev-master": "1.x-dev"
  65. }
  66. },
  67. "config": {
  68. "sort-packages": true
  69. }
  70. }