hashstudio / juro-sdk
SDK Juro Kit for Laravel framework.
dev-main
2024-08-30 10:12 UTC
Requires
- php: ^8.1
- illuminate/support: ^9.0|^10.0|^11.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2025-04-29 01:24:30 UTC
README
SDK Juro Kit for Laravel framework. Consumes JURO api https://api-docs.juro.com/
At a moment this package supports only createContract method.
Requirements
- PHP >= 8.0
- Laravel >= 9.0
Installation
You can install the package via composer:
composer require hashstudio/juro-sdk
Usage
php artisan vendor:publish --tag=juro-sdk-config
$sdk = app(JuroSDK::class); $data = [ "templateId" => "643fef1bfec94c08f5f5e67a", "contract" => [ "answers" => [ [ "uid" => "ad6c9b80-43c1-4b92-b881-7d2aa50b28fc", "value" => "Infinity industries" ] ] ] ]; $sdk->createContract($data);
Testing
composer test