PHPackages                             argonavis/php-anchor-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. argonavis/php-anchor-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

argonavis/php-anchor-sdk
========================

A PHP SDK that helps developers implement Stellar Anchors.

0.10.0(7mo ago)6791Apache-2.0PHPPHP ^8.0

Since Dec 25Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/Argo-Navis-Dev/php-anchor-sdk)[ Packagist](https://packagist.org/packages/argonavis/php-anchor-sdk)[ RSS](/packages/argonavis-php-anchor-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (6)Versions (12)Used By (0)

php-anchor-sdk
==============

[](#php-anchor-sdk)

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](https://developers.stellar.org/docs/fundamentals-and-concepts/stellar-ecosystem-proposals) (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](https://github.com/Argo-Navis-Dev/anchor-reference-server) implementation that uses the library.

This is the repo of the Service Layer Library. Pls. see [architecture doc](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/architecture.md).

The Anchor Reference Server using the library can be found [here](https://github.com/Argo-Navis-Dev/anchor-reference-server).

Roadmap:
--------

[](#roadmap)

- Implementation of [SEP-01](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0001.md) Service (Stellar Info File) -&gt; **Done**, see [doc](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/sep-01.md).
- Implementation of [SEP-10](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0010.md) Service (Stellar Authentication) -&gt; **Done**, see [doc](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/sep-10.md).
- Implementation of [SEP-12](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0012.md) KYC API Service &amp; [SEP-09](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0009.md) Standard KYC Fields -&gt; **Done**, see [doc](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/sep-12.md).
- Implementation of [SEP-24](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0024.md) Hosted Deposit and Withdrawal - Interactive Flow Service -&gt; **Done**, see [doc](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/sep-24.md).
- Implementation of [SEP-38](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0038.md) Anchor RFQ Service -&gt; **Done**, see [doc](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/sep-38.md).
- Implementation of [SEP-06](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0006.md) Deposit and Withdrawal Service -&gt; **Done**, see [doc](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/sep-06.md).
- Implementation of [SEP-31](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0031.md) Cross-Border Payments Service -&gt; **Done**, see [doc](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/sep-31.md).
- Implementation of [SEP-08](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0008.md) Regulated Assets -&gt; **Done**, see [doc](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/sep-08.md).
- Implementation of a transaction watcher to watch for important Stellar transactions such as incoming payments or trustline changes -&gt; **Done**, see [doc](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/stellar_helpers.md).
- Implementation of a callback mechanism that will be used by Anchors to notify clients about status changes -&gt; **Done**, see [doc](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/callbacks.md).
- Localization and Logging -&gt; **Done**, see docs [localization](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/localization.md) and [logging](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/logging.md).

Installing the SDK:
-------------------

[](#installing-the-sdk)

`composer require argonavis/php-anchor-sdk`

Integration docs:
-----------------

[](#integration-docs)

[Docs folder](https://github.com/Argo-Navis-Dev/php-anchor-sdk/blob/main/docs/)

Example Integration
-------------------

[](#example-integration)

[Anchor Reference Server](https://github.com/Argo-Navis-Dev/anchor-reference-server)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance73

Regular maintenance activity

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~68 days

Recently: every ~136 days

Total

11

Last Release

235d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b15895f3daf3584adba508d1ded6c3d06c6cc364b76e6f5e11b9f489d96c70a?d=identicon)[argonavis](/maintainers/argonavis)

---

Top Contributors

[![ngybnc](https://avatars.githubusercontent.com/u/44839908?v=4)](https://github.com/ngybnc "ngybnc (40 commits)")[![christian-rogobete](https://avatars.githubusercontent.com/u/35729606?v=4)](https://github.com/christian-rogobete "christian-rogobete (20 commits)")[![Alaci85](https://avatars.githubusercontent.com/u/156595840?v=4)](https://github.com/Alaci85 "Alaci85 (2 commits)")[![rodrigoprimo](https://avatars.githubusercontent.com/u/77215?v=4)](https://github.com/rodrigoprimo "rodrigoprimo (1 commits)")

---

Tags

phpsdkanchorStellar

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/argonavis-php-anchor-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/argonavis-php-anchor-sdk/health.svg)](https://phpackages.com/packages/argonavis-php-anchor-sdk)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k14](/packages/tempest-framework)[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k28.0M311](/packages/openai-php-client)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.7M18](/packages/xeroapi-xero-php-oauth2)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
