enabling packagist

This commit is contained in:
a-sansara 2017-03-15 02:51:35 +01:00
parent c569e4d96a
commit 181c56f06a
2 changed files with 8 additions and 11 deletions

View File

@ -9,7 +9,7 @@ PHP >= 5.4
### Install ### 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 composer require meta-tech/pws-client
``` ```
@ -18,7 +18,7 @@ Or add the package to your `composer.json`.
``` ```
"require": { "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 : However, meta-tech always return this simple Json Structure :
`{ done : boolean, msg : 'string contextual msg', data : whatever }` `{ 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 ### License

View File

@ -17,13 +17,8 @@
} }
}, },
"require" : { "require" : {
"php" : ">=5.4",
"symfony/yaml" : "^3.2", "symfony/yaml" : "^3.2",
"meta-tech/pws-auth" : "@dev" "meta-tech/pws-auth" : "@dev"
},
"repositories" : [
{
"type": "git",
"url": "https://github.com/meta-tech/pws-auth.git"
} }
]
} }