Skip to content

Commit

Permalink
Merge pull request #2 from pear/topics/composer-for-pear
Browse files Browse the repository at this point in the history
Updated/New Composer support for Math_BigInteger
  • Loading branch information
till committed Feb 26, 2014
2 parents 9852919 + e28a6f8 commit c045b71
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 21 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
# composer related
composer.lock
composer.phar
vendor
61 changes: 40 additions & 21 deletions composer.json
@@ -1,22 +1,41 @@
{
"name" : "pear/math_biginteger",
"description" : "Pure-PHP arbitrary precission integer arithmetic library. If GMP or BCMath are available they are used.",
"type" : "library",
"keywords" : [ "integer", "arbitrary", "precision", "bcmath", "gmp" ],
"homepage" : "https://github.com/pear/Math_BigInteger",
"license" : "LGPL-2.1+",
"authors" : [
{
"name" : "Jim Wigginton",
"email" : "terrafrost@php.net"
}
],
"require" : {
"php" : ">=4.2.0",
"ext-pcre" : "*"
},
"suggest" : {
"ext-bcmath" : "Allows using the BCMath extension internally for computation. Faster than native implementation.",
"ext-gmp" : "Allows using the GNU Multiple Precision extension internally for computation. If you are doing a lot of computation this is the recommended extension."
}
}
"name": "pear/math_biginteger",
"description": "Pure-PHP arbitrary precission integer arithmetic library. If GMP or BCMath are available they are used.",
"type": "library",
"keywords": [
"integer",
"arbitrary",
"precision",
"bcmath",
"gmp"
],
"homepage": "https://github.com/pear/Math_BigInteger",
"license": "LGPL-2.1+",
"authors": [
{
"name": "Jim Wigginton",
"email": "terrafrost@php.net"
}
],
"require": {
"php": ">=4.2.0",
"ext-pcre": "*",
"pear/pear_exception": "*"
},
"suggest": {
"ext-bcmath": "Allows using the BCMath extension internally for computation. Faster than native implementation.",
"ext-gmp": "Allows using the GNU Multiple Precision extension internally for computation. If you are doing a lot of computation this is the recommended extension."
},
"autoload": {
"classmap": [
"./"
]
},
"support": {
"issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Math_BigInteger",
"source": "https://github.com/pear/Math_BigInteger"
},
"require-dev": {
"phpunit/phpunit": "*"
}
}

0 comments on commit c045b71

Please sign in to comment.