PHPackages                             adshares/ads-client - 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. adshares/ads-client

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

adshares/ads-client
===================

PHP client for the ADS blockchain

v1.3.0(4y ago)8748GPL-3.0-or-laterPHPPHP ^7.4|^8.0CI failing

Since Aug 1Pushed 3y ago3 watchersCompare

[ Source](https://github.com/adshares/ads-php-client)[ Packagist](https://packagist.org/packages/adshares/ads-client)[ Docs](https://github.com/adshares/ads-php-client)[ RSS](/packages/adshares-ads-client/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (8)Versions (10)Used By (0)

 [ ![Adshares](https://camo.githubusercontent.com/77db0e06665eed17d27dea11e5ea719ad3d1fe4e387e2da0cb0dbc328b5405e2/68747470733a2f2f61647368617265732e6e65742f6c6f676f732f6164732e737667) ](https://adshares.net/)### ADS PHP Client

[](#ads-php-client)

 [Report bug](https://github.com/adshares/ads-php-client/issues/new?template=bug_report.md&labels=Bug) · [Request feature](https://github.com/adshares/ads-php-client/issues/new?template=feature_request.md&labels=New%20Feature) · [Docs](https://docs.adshares.net/ads-php-client/index.html)

ADS PHP Client is an object-oriented **PHP 7.4/8.0** client for the [ADS blockchain](https://github.com/adshares/ads) API.

This library depends on [Symfony Process](http://symfony.com/doc/current/components/process.html).

[![Quality Status](https://camo.githubusercontent.com/0f91be5dc018d504b861a9a11740967c559a3eb6b0d1e223f9738371932a534e/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d61647368617265732d6164732d7068702d636c69656e74266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=adshares-ads-php-client)[![Reliability Rating](https://camo.githubusercontent.com/3824320eb250be14a872a726f16d214427f766d8bbacfb10d6f18617fe3a1fbd/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d61647368617265732d6164732d7068702d636c69656e74266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=adshares-ads-php-client)[![Security Rating](https://camo.githubusercontent.com/03d64d9fa4f2e79ca8017d0a54daed3a3f09125c76b50409c3c2918ebecef3d5/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d61647368617265732d6164732d7068702d636c69656e74266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/dashboard?id=adshares-ads-php-client)[![Coverage](https://camo.githubusercontent.com/cde9b3dd7fb2b9dff6be3de30aebb592c79ae1899a2349067ead5ab1a40d794d/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d61647368617265732d6164732d7068702d636c69656e74266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=adshares-ads-php-client)[![Build Status](https://camo.githubusercontent.com/576e591735df58e0a33d301611d1e5ab87e65114247945799b66822efb241a90/68747470733a2f2f7472617669732d63692e636f6d2f61647368617265732f6164732d7068702d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/adshares/ads-php-client)

Getting Started
---------------

[](#getting-started)

Several quick start options are available:

- Install with [Composer](https://getcomposer.org/) (recommended): `composer require adshares/ads-client`
- [Download the latest release](https://github.com/adshares/ads-php-client/releases/latest)
- Clone the repo: `git clone https://github.com/adshares/ads-php-client.git`

To connect to the node, you will need to provide an account address and a secret key. Usually you will also need to specify a host name and a port. Once you know the proper parameters, you should be able to connect like this:

```
$address = 'FFFF-00000001-AAAA';
$secret = 'EFD0380D9B29829AE9F30F41E85D6C09A97220E6CF76FE8C1B479A34A38D12EC';
$host = '127.0.0.1';
$port = 6511;

$client = new AdsClient(new CliDriver($address, $secret, $host, $port));

```

Then you can call ADS commands, for example, to get the current status of the user:

```
$response = $client->getMe();

```

### Documentation

[](#documentation)

- [Installation](https://docs.adshares.net/ads-php-client/installation.html)
- [Usage](https://docs.adshares.net/ads-php-client/usage.html)
- [Tests](https://docs.adshares.net/ads-php-client/tests.html)

### Contributing

[](#contributing)

Please follow our [Contributing Guidelines](docs/CONTRIBUTING.md)

### Versioning

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/adshares/ads-php-client/tags).

Authors
-------

[](#authors)

- **[Paweł Podkalicki](https://github.com/PawelPodkalicki)** - *main programmer*
- **[Maciej Pilarczyk](https://github.com/m-pilarczyk)** - *architecture, supervision*

See also the list of [contributors](https://github.com/adshares/ads-php-client/contributors) who participated in this project.

### License

[](#license)

This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.

More info
---------

[](#more-info)

- [ADS Blockchain docs](https://docs.adshares.net/ads/)
- [ADS JS Client](https://github.com/adshares/ads-js-client)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 54.2% 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 ~200 days

Recently: every ~332 days

Total

8

Last Release

1484d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.2.0

v1.2.1PHP ^7.4|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19405131?v=4)[Adshares](/maintainers/Adshares)[@adshares](https://github.com/adshares)

---

Top Contributors

[![PawelPodkalicki](https://avatars.githubusercontent.com/u/38037054?v=4)](https://github.com/PawelPodkalicki "PawelPodkalicki (110 commits)")[![m-pilarczyk](https://avatars.githubusercontent.com/u/10977239?v=4)](https://github.com/m-pilarczyk "m-pilarczyk (84 commits)")[![yodahack](https://avatars.githubusercontent.com/u/19958053?v=4)](https://github.com/yodahack "yodahack (6 commits)")[![PawZar](https://avatars.githubusercontent.com/u/93213409?v=4)](https://github.com/PawZar "PawZar (2 commits)")[![c3zi](https://avatars.githubusercontent.com/u/979246?v=4)](https://github.com/c3zi "c3zi (1 commits)")

---

Tags

phpadsblockchainescadshares

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/adshares-ads-client/health.svg)

```
[![Health](https://phpackages.com/badges/adshares-ads-client/health.svg)](https://phpackages.com/packages/adshares-ads-client)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k193.1M3.0k](/packages/composer-composer)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[pontedilana/php-weasyprint

PHP library allowing PDF generation from an url or a html page. Wrapper for Kozea/WeasyPrint.

781.2M14](/packages/pontedilana-php-weasyprint)

PHPackages © 2026

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