bayareawebpro / laravel-trusted-forms
This package is abandoned and no longer maintained.
No replacement package was suggested.
A Trusted Forms Certificate Client
v1.0
2020-04-29 05:31 UTC
Requires
- php: ^7.4
- ext-json: *
- guzzlehttp/guzzle: ^6.5
- illuminate/config: ^7.0
- illuminate/container: ^7.0
- illuminate/http: ^7.0
- illuminate/support: ^7.0
- nesbot/carbon: ^2.32
Requires (Dev)
- nunomaduro/larastan: ^0.5
- orchestra/testbench: ^5.0
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2022-02-12 23:58:37 UTC
README
A service wrapper for the Laravel HTTP client designed for working with the Active Prospect API to generate "TCPA Compliant Trusted Form Certificates".
composer require bayareawebpro/laravel-trusted-forms
php artisan vendor:publish --tag=config
https://packagist.org/packages/bayareawebpro/laravel-trusted-forms
Claim Certificate:
use BayAreaWebPro\TrustedForms\TrustedForms; $claim = TrustedForms::claimCertificate(request()->only([...])); $claim->getMaskedCertificateUrl(); $claim->getCertificateToken(); $claim->hasValidCertificate(); $claim->hasValidExpiration(); $claim->hasValidClaims(); $claim->isValid(); $claim->collect('nested.array'); $claim->get('nested.key', 'fallback-values');
Read Certificate:
use BayAreaWebPro\TrustedForms\TrustedForms; $certificate = TrustedForms::readCertificate($token); $certificate->getCertificateUrls(); $certificate->hasValidExpiration(); $certificate->hasValidClaims(); $certificate->isValid(); $certificate->collect('nested.array'); $certificate->get('nested.key', 'fallback-values');
TrustedForm Documentation
This is an Open Source Community Project and is not provided by ActiveProspect, or it's affiliates.
https://support.activeprospect.com/hc/en-us/categories/200128909-TrustedForm