From 181c56f06ac66c6e805bed0c7e84def71d0b9962 Mon Sep 17 00:00:00 2001 From: a-sansara Date: Wed, 15 Mar 2017 02:51:35 +0100 Subject: [PATCH] enabling packagist --- README.md | 6 ++++-- composer.json | 13 ++++--------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 9ccb907..d26d31e 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ PHP >= 5.4 ### Install -The package can be installed using [ Composer ](https://getcomposer.org/). (not yet) +The package can be installed using [ Composer ](https://getcomposer.org/). ``` composer require meta-tech/pws-client ``` @@ -18,7 +18,7 @@ Or add the package to your `composer.json`. ``` "require": { - "meta-tech/pws-client" : "1.0" + "meta-tech/pws-client" : "@dev" } ``` @@ -94,6 +94,8 @@ PwsClient intend to receiv any JsonResponse, the structure of the response is fr However, meta-tech always return this simple Json Structure : `{ done : boolean, msg : 'string contextual msg', data : whatever }` +see [ meta-tech/pws-server ](https://github.com/meta-tech/pws-server) +and [ meta-tech/sile-core ](https://github.com/meta-tech/silex-core) ### License diff --git a/composer.json b/composer.json index 47d4360..d7bd11e 100644 --- a/composer.json +++ b/composer.json @@ -17,13 +17,8 @@ } }, "require" : { - "symfony/yaml" : "^3.2", - "meta-tech/pws-auth": "@dev" - }, - "repositories" : [ - { - "type": "git", - "url": "https://github.com/meta-tech/pws-auth.git" - } - ] + "php" : ">=5.4", + "symfony/yaml" : "^3.2", + "meta-tech/pws-auth" : "@dev" + } }