composer.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "sabre/uri",
  3. "description": "Functions for making sense out of URIs.",
  4. "keywords": [
  5. "URI",
  6. "URL",
  7. "rfc3986"
  8. ],
  9. "homepage": "http://sabre.io/uri/",
  10. "license": "BSD-3-Clause",
  11. "require": {
  12. "php": "^7.4 || ^8.0"
  13. },
  14. "authors": [
  15. {
  16. "name": "Evert Pot",
  17. "email": "me@evertpot.com",
  18. "homepage": "http://evertpot.com/",
  19. "role": "Developer"
  20. }
  21. ],
  22. "support": {
  23. "forum": "https://groups.google.com/group/sabredav-discuss",
  24. "source": "https://github.com/fruux/sabre-uri"
  25. },
  26. "autoload": {
  27. "files" : [
  28. "lib/functions.php"
  29. ],
  30. "psr-4" : {
  31. "Sabre\\Uri\\" : "lib/"
  32. }
  33. },
  34. "autoload-dev": {
  35. "psr-4": {
  36. "Sabre\\Uri\\": "tests/Uri"
  37. }
  38. },
  39. "require-dev": {
  40. "friendsofphp/php-cs-fixer": "^3.63",
  41. "phpstan/phpstan": "^1.12",
  42. "phpstan/phpstan-phpunit": "^1.4",
  43. "phpstan/phpstan-strict-rules": "^1.6",
  44. "phpstan/extension-installer": "^1.4",
  45. "phpunit/phpunit" : "^9.6"
  46. },
  47. "scripts": {
  48. "phpstan": [
  49. "phpstan analyse lib tests"
  50. ],
  51. "cs-fixer": [
  52. "php-cs-fixer fix"
  53. ],
  54. "phpunit": [
  55. "phpunit --configuration tests/phpunit.xml"
  56. ],
  57. "test": [
  58. "composer phpstan",
  59. "composer cs-fixer",
  60. "composer phpunit"
  61. ]
  62. },
  63. "config": {
  64. "allow-plugins": {
  65. "phpstan/extension-installer": true
  66. }
  67. }
  68. }