composer.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "composer/pcre",
  3. "description": "PCRE wrapping library that offers type-safe preg_* replacements.",
  4. "type": "library",
  5. "license": "MIT",
  6. "keywords": [
  7. "pcre",
  8. "regex",
  9. "preg",
  10. "regular expression"
  11. ],
  12. "authors": [
  13. {
  14. "name": "Jordi Boggiano",
  15. "email": "j.boggiano@seld.be",
  16. "homepage": "http://seld.be"
  17. }
  18. ],
  19. "require": {
  20. "php": "^7.4 || ^8.0"
  21. },
  22. "require-dev": {
  23. "phpunit/phpunit": "^8 || ^9",
  24. "phpstan/phpstan": "^1.11.10",
  25. "phpstan/phpstan-strict-rules": "^1.1"
  26. },
  27. "conflict": {
  28. "phpstan/phpstan": "<1.11.10"
  29. },
  30. "autoload": {
  31. "psr-4": {
  32. "Composer\\Pcre\\": "src"
  33. }
  34. },
  35. "autoload-dev": {
  36. "psr-4": {
  37. "Composer\\Pcre\\": "tests"
  38. }
  39. },
  40. "extra": {
  41. "branch-alias": {
  42. "dev-main": "3.x-dev"
  43. },
  44. "phpstan": {
  45. "includes": [
  46. "extension.neon"
  47. ]
  48. }
  49. },
  50. "scripts": {
  51. "test": "@php vendor/bin/phpunit",
  52. "phpstan": "@php phpstan analyse"
  53. }
  54. }