Download the PHP package gawrys/counterparty-laravel without Composer
On this page you can find all versions of the php package gawrys/counterparty-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package counterparty-laravel
Counterparty for Laravel
The Laravel bridge for the Counterparty Verification toolkit: auto-wired service provider, a facade, validation rules, a queued job and an event.
⚠️ A due-diligence aid, not a guarantee of AML compliance. Risk output is advisory.
Features
- Zero-config auto-discovery - PSR contracts mapped onto Laravel's HTTP client, cache and log; reference registries and checks registered for you.
- Facade -
Counterparty::verify()and Storage-styleCounterparty::extendRegistry(). - Validation rules -
ActiveVatPayer,NotSanctioned. - Async - queued
VerifyCounterpartyjob dispatching aCounterpartyFlaggedevent. - Selectable strategy & sanctions provider via published config; conditional AI wiring.
Installation
Zero-config HTTP. The provider auto-discovers an installed PSR-18 client + PSR-17
factories - on a stock Laravel app this uses the bundled Guzzle (Guzzle 7 is a PSR-18
client), so you don't have to install or wire anything. To use a different client, just bind
Psr\Http\Client\ClientInterface (and the PSR-17 factories) in your app - your binding wins.
Usage
Validation:
Async:
Set COUNTERPARTY_STRATEGY=ai (and install gawrys/counterparty-ai + bind an
AiResearchProvider) to switch to advisory AI scoring - wiring is conditional on the
package being present.
Full guide: documentation.
Testing
Changelog
See CHANGELOG.md.
Contributing & Security
Pull requests welcome. Report security issues privately - see SECURITY.md.
Credits
License
The MIT License (MIT). See LICENSE.
All versions of counterparty-laravel with dependencies
gawrys/counterparty-core Version ^0.1
illuminate/support Version ^11.0 || ^12.0 || ^13.0
illuminate/contracts Version ^11.0 || ^12.0 || ^13.0