PHPackages                             auth3-dev/auth3-sdk - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. auth3-dev/auth3-sdk

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

auth3-dev/auth3-sdk
===================

Library for the Auth3 Identity Platform APIs, learn more at https://auth3.dev/.

1.0.0(4y ago)06Apache-2.0PHPPHP &gt;=7.0.0

Since Oct 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/auth3-dev/php-sdk)[ Packagist](https://packagist.org/packages/auth3-dev/auth3-sdk)[ Docs](https://auth3.dev)[ RSS](/packages/auth3-dev-auth3-sdk/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Auth3 PHP SDK
=============

[](#auth3-php-sdk)

The official [Auth3](https://auth3.dev/?utm_source=github&utm_medium=sdk&utm_campaign=php) php SDK library.

API Documentation
-----------------

[](#api-documentation)

Check-out the API documentation at [https://docs.auth3.dev/apis/identity-platform/administrative](https://docs.auth3.dev/apis/identity-platform/administrative?utm_source=github&utm_medium=sdk&utm_campaign=php) for further help.

Installation
------------

[](#installation)

### Prerequisites

[](#prerequisites)

Please, note that using this library requires that you also [Install gRPC for PHP](https://cloud.google.com/php/grpc) on your system.

Missing to do so, will result in import errors regarding gRPC libraries (such as, `Error: Class 'Grpc\ChannelCredentials' not found`). In that case, make sure that to `sudo pecl install grpc-` the same version of the resolved PHP library, to avoid any kind of issues.

**Mac users** which installed php via `brew` should also make sure to use the correct `php` binary, rather than the system-wide `/usr/bin/php`. You can see your binary location with `brew list php` (for example, `/usr/local/Cellar/php/8.0.11_1/bin/php`). Failing to do so could lead to the same issues stated above, because the `extension=grpc.so` might have been configured on another php installation.

### Automated

[](#automated)

```
$ composer require auth3-dev/auth3-sdk
```

### Manual

[](#manual)

Using [composer](https://getcomposer.org/) to get the library, add to your `composer.json`:

```
"require": {
  "auth3-dev/auth3-sdk": "^1.0.0"
}
```

Then run:

```
$ composer install # or "update"
```

Within your code you can now:

```
