Skip to content

Commit

Permalink
Merge pull request #89 from kelunik/optional-phpseclib
Browse files Browse the repository at this point in the history
Make ext-openssl and phpseclib optional dependencies
  • Loading branch information
odino committed Mar 30, 2016
2 parents d234ab5 + 69493e9 commit d9b0c6c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"name": "namshi/jose",
"description": "JSON Object Signing and Encryption library for PHP.",
"require-dev": {
"phpunit/phpunit": "^4.5|^5.0",
"satooshi/php-coveralls": "^1.0"
},
"license": "MIT",
"keywords": ["jws", "jwt", "json", "json web token", "json web signature", "token"],
"authors": [
Expand All @@ -31,11 +27,18 @@
"ext-date": "*",
"ext-hash": "*",
"ext-json": "*",
"ext-openssl": "*",
"ext-pcre": "*",
"ext-spl": "*",
"php": ">=5.5",
"phpseclib/phpseclib": "^2.0",
"symfony/polyfill-php56": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^4.5|^5.0",
"satooshi/php-coveralls": "^1.0",
"phpseclib/phpseclib": "^2.0"
},
"suggest": {
"ext-openssl": "Allows to use OpenSSL as crypto engine.",
"phpseclib/phpseclib": "Allows to use Phpseclib as crypto engine, use version ^2.0."
}
}

0 comments on commit d9b0c6c

Please sign in to comment.