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