composer.json - update name of this package (name of vendor, actually) & use exact version constraint of wiosna-dev/common-library package

This commit is contained in:
Krzysztof Niziol
2017-11-08 15:01:43 +01:00
parent a3e5c78dcd
commit 82031194a2
2 changed files with 15 additions and 3 deletions

View File

@@ -5,10 +5,22 @@ Client of the [LimeSurvey's API](https://manual.limesurvey.org/RemoteControl_2_A
## Installation
In your `composer.json` add address of repository into `repositories` section:
```json
"repositories": [
(...)
{
"type": "vcs",
"url": "https://github.com/wiosna-dev/limesurvey-api-client"
}
]
```
Run [Composer](https://getcomposer.org) to install this package in your project:
```bash
$ composer require wiosna/limesurvey-api-client
$ composer require wiosna-dev/limesurvey-api-client
```
> How to install Composer: https://getcomposer.org/download

View File

@@ -1,5 +1,5 @@
{
"name": "wiosna/limesurvey-api-client",
"name": "wiosna-dev/limesurvey-api-client",
"description": "Client of LimeSurvey API",
"type": "library",
"license": "MIT",
@@ -13,7 +13,7 @@
"require": {
"php": ">=5.5.9",
"fguillot/json-rpc": "^1.2",
"wiosna/common-library": "~0.0.1"
"wiosna-dev/common-library": "0.0.17"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.2",