sandwave-io / phone-pin-checker
There is no license information available for the latest version (1.0.0) of this package.
Check VIP phone caller code with repository
1.0.0
2020-01-23 15:11 UTC
Requires
- php: ^7.1.0
- laravel/framework: ^5.3.31 || ^6.0.0
Requires (Dev)
- mockery/mockery: ^1.3
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-11-10 14:06:13 UTC
README
Verify generated PINs in order to implement your VIP phone support with Voys.
This package is based on the Voys API.
Compatibility
- PHP
>8.1
- Laravel
^10.3.3
How to use
- Add the package in to your project.
- Make sure the service provider is loaded.
- Route your Voys webhook to
GET https://yourapplication.app/phone-pin-checker
. - Use the create route (
POST https://yourapplication.app/phone-pin-checker
) to generate a new code.- You can add a reference (for a customer for example) using the optional
reference
field.
- You can add a reference (for a customer for example) using the optional
- You can listen to the
Sandwave\PhonePinChecker\Events\PinOkay
event to check if the a pin has been entered successfully.