Download the PHP package auth3-dev/auth3-sdk without Composer
On this page you can find all versions of the php package auth3-dev/auth3-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download auth3-dev/auth3-sdk
More information about auth3-dev/auth3-sdk
Files in auth3-dev/auth3-sdk
Package auth3-sdk
Short Description Library for the Auth3 Identity Platform APIs, learn more at https://auth3.dev/.
License Apache-2.0
Homepage https://auth3.dev
Informations about the package auth3-sdk
Auth3 PHP SDK
The official Auth3 php SDK library.
API Documentation
Check-out the API documentation at https://docs.auth3.dev/apis/identity-platform/administrative for further help.
Installation
Prerequisites
Please, note that using this library requires that you also Install gRPC for PHP 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-<version>
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
Manual
Using composer to get the library, add to your composer.json
:
Then run:
Within your code you can now:
Examples
Check-out the examples/
folder to see how to initialise a client and perform queries.
Execute it with:
NOTE You will need to add extension=grpc.so
into your php.ini file. Or add -d extension=grpc.so
to your command line to load the needed extensions. Failing to do so won't resolve some libraries imports. Check out the documentation to setup your environment.
Additional help
You can find further help, examples, tools and suggestions here.
Change Language
Not your target language? Check out our official SDKs for:
Contributing
At this time we don't accept external contributions, but we're open for feedbacks and requests. We're always looking for contributions on our security, refer to our dedicated page for more.
Support
Customers of the Auth3 Identity Platform can access support through the official channels available on our website. We won't be able to accomodate Customer requests through the bug tracker for security reasons.
License
Read the LICENSE.