Download the PHP package do-inc/laravel-persona-kyc without Composer
On this page you can find all versions of the php package do-inc/laravel-persona-kyc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download do-inc/laravel-persona-kyc
More information about do-inc/laravel-persona-kyc
Files in do-inc/laravel-persona-kyc
Package laravel-persona-kyc
Short Description KYC (Know Your Customer) performed using the Persona (https://withpersona.com) API
License MIT
Homepage https://github.com/Do-inc/laravel-persona-kyc
Informations about the package laravel-persona-kyc
Laravel Persona KYC
This package helps with the identity verification of your customers. It provides a simple yet powerful interface based on method concatenation to semantically construct your requests.
Users verification become as easy as writing a couple of lines:
Backend
Frontend
Installation
You can install the package via composer:
Running the installation command will automatically publish the configuration files, the migrations and compile all the stubs.
You can always publish all the assets manually running:
You can publish the config file with:
Additionally, a couple of environment variable should also be defined:
Usage
Basic
Persona offers the possibility to verify users identity with easy without the need to create custom flows or deal with long and complicated verification procedures.
The verification process begins with the creation of an account, accounts must be generated with a reference id in order to link multiple inquiries together. In order to reduce complexity and easily query for remote data consider using your user id as reference id.
Lots of different methods are available out of the box, these will easy the development of simple and custom solution with Persona as a verification provider.
Refer to this method list for a complete list of the available methods.
Webhooks
Persona supports webhooks out of the box. In order to enforce a secure usage of the webhooks without any tampering
possibility a default endpoint is provided at /persona/hook
additionally a prefix may be added via configuration
options.
The webhook will emit events depending on the request received, each event will receive a pre-parsed model as this will avoid errors.
This means that accessing persona webhooks is as simple as setting up a listener for the event you're interested into!
Refer to this event list for a complete list of the available events.
Testing
Copy the .env.example
file into .env
and fill in all the variables then run
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Emanuele (ebalo) Balsamo
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-persona-kyc with dependencies
guzzlehttp/guzzle Version ^7.2
illuminate/contracts Version ^9.0
spatie/laravel-package-tools Version ^1.9.2
spatie/regex Version ^3.1
ext-sodium Version *