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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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.


All versions of auth3-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
grpc/grpc Version ^v1.39.0
google/protobuf Version ^v3.18.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package auth3-dev/auth3-sdk contains the following files

Loading the files please wait ....