Search by

contractlayer / econtract-laravel

vatgia

Laravel integration of eContract e-signatures: provider interface, webhook verification, signed PDF download

Package info

github.com/contractlayer/econtract-laravel

pkg:composer/contractlayer/econtract-laravel

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.2 2026-11-22 11:13 UTC

This package is auto-updated.

Last update: 2026-11-22 11:15:09 UTC


README

Laravel package for eContract e-signatures: a SignatureProvider interface your code depends on, the eContract implementation, webhook signature verification, a queued job that downloads the signed PDF and a reconcile command. Laravel 11, 12 and 13, PHP 8.2+.

Guide: Integrating eContract. Runnable Node.js example and cURL scripts: econtract-integration-demo.

composer require contractlayer/econtract-laravel
php artisan vendor:publish --tag=econtract-config
php artisan migrate
ECONTRACT_API_KEY=cl_test_xxx
ECONTRACT_WEBHOOK_SECRET=…

Your code depends on SignatureProvider; see examples/HireController.php. The webhook route POST /webhooks/econtract is registered for you; run a queue worker for the download job and schedule econtract:reconcile hourly. Listen to SignatureRequestUpdated to update your domain.

Start with a test key (cl_test_…): contracts are marked TEST, no emails are sent and the signer code is 000000.

Tests

bin/test-docker.sh (Docker, no local PHP) or composer install && vendor/bin/phpunit.

License

MIT