argonavis/php-anchor-sdk

A PHP SDK that helps developers implement Stellar Anchors.

0.4.0 2024-04-10 17:20 UTC

This package is not auto-updated.

Last update: 2024-04-24 17:39:41 UTC


README

The PHP Stellar Anchor SDK makes it easier for PHP developers to implement Stellar Anchors.

Stellar clients make requests to the endpoints of Anchor Servers using sets of standards called SEPs (Stellar Ecosystem Proposals). The PHP Anchor SDK will help PHP developers to implement the Client - Anchor interaction by abstracting the Stellar-specific functionality defined in the SEP's so that developers can focus on business logic.

The SDK is composed of two components:

  • A Service Layer Library implementing the Stellar specific functionality described in the corresponding SEPs
  • An Anchor Reference Server implementation that uses the library.

This is the repo of the Service Layer Library. Pls. see architecture doc.

The Anchor Reference Server using the library can be found here.

Roadmap:

  • Implementation of SEP-01 Service (Stellar Info File) -> Done, see doc.
  • Implementation of SEP-10 Service (Stellar Authentication) -> Done, see doc.
  • Implementation of SEP-12 KYC API Service & SEP-09 Standard KYC Fields -> Done, see doc.
  • Implementation of SEP-24 Hosted Deposit and Withdrawal - Interactive Flow Service -> Done, see doc.
  • Implementation of SEP-38 Anchor RFQ Service -> Done, see doc.
  • Implementation of SEP-06 Deposit and Withdrawal Service -> in progress
  • Implementation of SEP-31 Cross-Border Payments Service

Installing the SDK:

composer require argonavis/php-anchor-sdk