diff options
author | Stanley Cheung <stanleycheung@google.com> | 2016-03-23 13:04:53 -0700 |
---|---|---|
committer | Stanley Cheung <stanleycheung@google.com> | 2016-03-23 13:04:53 -0700 |
commit | 3dab4628c6d72e50d0945be127e558c35c22f20c (patch) | |
tree | 1503e0e03c4e46fc3e108e07a8f1dbfe8fbc93da /templates/composer.json.template | |
parent | 9a1fa344e743b800763d82469493d57f8e695d81 (diff) |
php: remove hardcoded version in templates
Diffstat (limited to 'templates/composer.json.template')
-rw-r--r-- | templates/composer.json.template | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/composer.json.template b/templates/composer.json.template new file mode 100644 index 0000000000..275b4655ce --- /dev/null +++ b/templates/composer.json.template @@ -0,0 +1,27 @@ +%YAML 1.2 +--- | + { + "name": "grpc/grpc", + "type": "library", + "description": "gRPC library for PHP", + "version": "${settings.php_version.php()}", + "keywords": ["rpc"], + "homepage": "http://grpc.io", + "license": "BSD-3-Clause", + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/stanley-cheung/Protobuf-PHP" + } + ], + "require": { + "php": ">=5.5.0", + "datto/protobuf-php": "dev-master", + "google/auth": "v0.7" + }, + "autoload": { + "psr-4": { + "Grpc\\": "src/php/lib/Grpc/" + } + } + } |