From 531ba2d17820f77bf2251e7b2e28a6abf8e6ca79 Mon Sep 17 00:00:00 2001 From: till Date: Mon, 17 Feb 2014 17:33:41 +0100 Subject: [PATCH] Enhancement: composer setup --- .gitignore | 4 +++ composer.json | 82 ++++++++++++++++++++++++++++++--------------------- 2 files changed, 53 insertions(+), 33 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..869f498 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +# composer related +composer.lock +composer.phar +vendor diff --git a/composer.json b/composer.json index da3c23d..9eee8c9 100644 --- a/composer.json +++ b/composer.json @@ -1,34 +1,50 @@ { - "name" : "pear/crypt_gpg", - "description" : "Provides an object oriented interface to the GNU Privacy Guard (GnuPG). It requires the GnuPG executable to be on the system.", - "type" : "library", - "keywords" : [ "gpg", "gnupg", "encryption", "pgp" ], - "homepage" : "https://github.com/pear/Crypt_GPG", - "license" : "LGPL-2.1", - "authors" : [ - { - "name" : "Michael Gauthier", - "email" : "mike@silverorange.com" - }, - { - "name" : "Nathan Fredrickson", - "email" : "nathan@silverorange.com" - } - ], - "require" : { - "php" : ">=5.2.1", - "ext-mbstring" : "*", - "pear/console_commandline" : ">=1.1.10" - }, - "suggest" : { - "ext-posix" : "Enables slightly more efficient process management for the pinentry program." - }, - "bin" : [ - "scripts/crypt-gpg-pinentry" - ], - "autoload": { - "psr-0": { - "Crypt_GPG" : "" - } - } -} + "name": "pear/crypt_gpg", + "description": "Provides an object oriented interface to the GNU Privacy Guard (GnuPG). It requires the GnuPG executable to be on the system.", + "type": "library", + "keywords": [ + "gpg", + "gnupg", + "encryption", + "pgp" + ], + "homepage": "https://github.com/pear/Crypt_GPG", + "license": "LGPL-2.1", + "authors": [ + { + "name": "Michael Gauthier", + "email": "mike@silverorange.com" + }, + { + "name": "Nathan Fredrickson", + "email": "nathan@silverorange.com" + } + ], + "require": { + "php": ">=5.2.1", + "ext-mbstring": "*", + "pear/console_commandline": ">=1.1.10", + "pear/pear_exception": "*" + }, + "suggest": { + "ext-posix": "May require the posix PHP extension" + }, + "bin": [ + "scripts/crypt-gpg-pinentry" + ], + "autoload": { + "psr-0": { + "Crypt_GPG": "" + } + }, + "include-path": [ + "./" + ], + "support": { + "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Crypt_GPG", + "source": "https://github.com/pear/Crypt_GPG" + }, + "require-dev": { + "phpunit/phpunit": "*" + } +} \ No newline at end of file