PHPackages                             meta-tech/pws-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. meta-tech/pws-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

meta-tech/pws-client
====================

PwsClient is a php web service client managing PwsAuth protocol

1.3.7(2y ago)13.2k↓50%MITPHPPHP &gt;=5.4

Since Mar 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/meta-tech/pws-client)[ Packagist](https://packagist.org/packages/meta-tech/pws-client)[ Docs](https://github.com/meta-tech/pws-client)[ RSS](/packages/meta-tech-pws-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

MetaTech PwsClient
==================

[](#metatech-pwsclient)

a php webservice client managing [ PwsAuth ](https://github.com/meta-tech/pws-auth) protocol

### Requirements

[](#requirements)

PHP &gt;= 5.4

### Install

[](#install)

The package can be installed using [ Composer ](https://getcomposer.org/).

```
composer require meta-tech/pws-client

```

Or add the package to your `composer.json`.

```
"require": {
    "meta-tech/pws-client" : "^1.3"
}

```

### Usage

[](#usage)

When instantiating, PwsClient automatically checks if it has been authenticated. Otherwise, or if the session has expired, the client will perform the authentication. Then, you can initiate get or post call

```
