Download the PHP package alexstewartja/php-didit without Composer

On this page you can find all versions of the php package alexstewartja/php-didit. 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 php-didit

PHP SDK for Didit KYC/CIAM by alexstewartja on GitHub

Didit Logo # PHP Didit [![Latest Stable Version](http://poser.pugx.org/alexstewartja/php-didit/v)](https://packagist.org/packages/alexstewartja/php-didit) [![Total Downloads](http://poser.pugx.org/alexstewartja/php-didit/downloads)](https://packagist.org/packages/alexstewartja/php-didit) [![License](http://poser.pugx.org/alexstewartja/php-didit/license)](https://packagist.org/packages/alexstewartja/php-didit) ![Tests Status](https://img.shields.io/github/actions/workflow/status/alexstewartja/php-didit/run-tests.yml?label=tests) ![Static Analysis](https://img.shields.io/github/actions/workflow/status/alexstewartja/php-didit/fix-php-code-style-issues.yml?label=code%20style) [![PHP Version Required](http://poser.pugx.org/alexstewartja/php-didit/require/php)](https://packagist.org/packages/alexstewartja/php-didit) [![Buy Me A Coffee](https://img.shields.io/badge/Buy_Me-A_Coffee-orange?logo=buy-me-a-coffee)](https://buymeacoffee.com/alexstewartja) PHP SDK for [Didit](https://didit.me/business)'s identity verification (KYC) and authentication (CIAM) solutions

Features

Installation

You can install the package via composer:

Usage

Get Access Token

Supply the Client ID and Client Secret of your application, from the Didit console:

Create a Verification Session

After obtaining a valid client access token, you can then create a new verification session:

Retrieve a Verification Session

Retrieve the results of a verification session by supplying its session_id:

Update a Verification Session Status

You may approve or decline a verification, by updating its status to Approved or Declined respectively:

Generate a Verification PDF Report

You can generate a PDF for sessions that are either In Review, Declined or Approved:

:information_source: If no $save_to path is supplied, an instance of Psr\Http\Message\StreamInterface will be returned, allowing for further processing.

Testing

  1. Navigate to the tests/assets directory and copy credentials.json.example to credentials.json:

  2. Open tests/assets/credentials.json. Enter your Client ID and Client Secret into the client_id and client_secret fields, respectively.

  3. Run the test suite:

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

A Lando file is included in the repo to get up and running quickly:

Please see CONTRIBUTING for more details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of php-didit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1 || ^8.2 || ^8.3 || ^8.4
ext-json Version *
ext-reflection Version *
php-http/guzzle7-adapter Version ^1.1
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 alexstewartja/php-didit contains the following files

Loading the files please wait ...