Download the PHP package gawrys/counterparty-core without Composer

On this page you can find all versions of the php package gawrys/counterparty-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package counterparty-core

Counterparty Core

Packagist Version Total Downloads CI PHP PHPStan Psalm

The framework-agnostic heart of the Counterparty Verification toolkit - per-country registry lookups, sanctions screening and a pluggable risk engine for counterparty due diligence. Hexagonal: it depends only on PSR interfaces, so it drops into any framework (or none).

⚠️ This is a due-diligence aid, not a compliance product. It does not make you "AML compliant" - that remains your responsibility. The risk score is advisory.

Features

Installation

This package is HTTP-client agnostic: it depends on the PSR-18 / PSR-17 interfaces and declares psr/http-client-implementation + psr/http-factory-implementation as virtual requirements, so Composer asks you to choose a client. Install any PSR-18 implementation, e.g.:

Usage

Quick start (auto-wired)

The factory assembles the bundled checks (White List, VIES, sanctions.network) + the rule-based strategy. It auto-discovers your installed PSR-18 client and PSR-17 factories:

Manual wiring (full control)

The clock is optional and defaults to SystemClock; pass a FrozenClock in tests.

Add a country (one driver + one registration)

Add a custom scoring rule

Certify a third-party driver

Full guides live in the documentation.

Part of the toolkit

Package Purpose
counterparty-core (this) Domain, registries, risk engine, PSR-18 adapters
counterparty-ai Optional advisory AI risk research
counterparty-laravel Laravel bridge
counterparty-bundle Symfony bundle

Testing

Changelog

See CHANGELOG.md.

Contributing & Security

Pull requests welcome. Please report security issues privately - see SECURITY.md.

Credits

License

The MIT License (MIT). See LICENSE.


All versions of counterparty-core with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
psr/clock Version ^1.0
psr/http-client Version ^1.0
psr/http-client-implementation Version ^1.0
psr/http-factory Version ^1.0
psr/http-factory-implementation Version ^1.0
psr/http-message Version ^1.1 || ^2.0
psr/simple-cache Version ^2.0 || ^3.0
psr/log Version ^2.0 || ^3.0
php-http/discovery Version ^1.19
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gawrys/counterparty-core contains the following files

Loading the files please wait ...