Nav apraksta

composer.json 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "nojimage/twitter-text-php",
  3. "description": "A library of PHP classes that provide auto-linking and extraction of usernames, lists, hashtags and URLs from tweets.",
  4. "keywords": ["twitter", "text", "autolink", "extract"],
  5. "homepage": "https://github.com/nojimage/twitter-text-php",
  6. "type": "library",
  7. "license": "Apache-2.0",
  8. "authors": [
  9. {
  10. "name": "Matt Sanford",
  11. "email": "matt@mzsanford.com",
  12. "homepage": "http://mzsanford.com"
  13. },
  14. {
  15. "name": "Mike Cochrane",
  16. "email": "mikec@mikenz.geek.nz",
  17. "homepage": "http://mikenz.geek.nz"
  18. },
  19. {
  20. "name": "Nick Pope",
  21. "email": "git@nickpope.me.uk",
  22. "homepage": "http://www.nickpope.me.uk"
  23. },
  24. {
  25. "name": "Takashi Nojima",
  26. "homepage": "http://php-tips.com"
  27. }
  28. ],
  29. "repositories": [
  30. {
  31. "type": "package",
  32. "package": {
  33. "name": "twitter/twitter-text",
  34. "version": "3.1.0",
  35. "source": {
  36. "url": "https://github.com/twitter/twitter-text.git",
  37. "type": "git",
  38. "reference": "v3.1.0"
  39. }
  40. }
  41. }
  42. ],
  43. "require": {
  44. "php": ">=5.3.3",
  45. "ext-mbstring": "*",
  46. "ext-intl": "*"
  47. },
  48. "require-dev": {
  49. "ext-json": "*",
  50. "symfony/yaml": "^2.6.0|^3.4.0|^4.4.0|^5.0.0",
  51. "phpunit/phpunit": "4.8.*|5.7.*|6.5.*",
  52. "twitter/twitter-text": "^3.0.0"
  53. },
  54. "autoload": {
  55. "psr-0": {
  56. "Twitter\\Text\\": "lib/"
  57. }
  58. },
  59. "autoload-dev": {
  60. "psr-4": {
  61. "Twitter\\Text\\TestCase\\": "tests/TestCase/"
  62. }
  63. },
  64. "scripts": {
  65. "check": [
  66. "@cs",
  67. "@test",
  68. "@tld-test"
  69. ],
  70. "test": "phpunit --exclude-group deprecated,tld",
  71. "deprecated-test": "phpunit --group deprecated",
  72. "tld-test": "phpunit --group tld",
  73. "cs": "phpcs -psn --standard=PSR12 --extensions=php ./lib ./tests",
  74. "cs-fixer": "phpcbf --standard=PSR12 ./lib ./tests"
  75. }
  76. }