PHPackages                             seoapi-ru/api-client-php - 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. [API Development](/categories/api)
4. /
5. seoapi-ru/api-client-php

ActiveLibrary[API Development](/categories/api)

seoapi-ru/api-client-php
========================

Public API PHP client

00[2 PRs](https://github.com/seoapi-ru/api-client-php/pulls)PHP

Since Jun 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/seoapi-ru/api-client-php)[ Packagist](https://packagist.org/packages/seoapi-ru/api-client-php)[ RSS](/packages/seoapi-ru-api-client-php/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (3)Used By (0)

API client for PHP
==================

[](#api-client-for-php)

[![Build Status](https://camo.githubusercontent.com/0bc7f61818b93ae93b580094a4e879478937eab7b120a6164ac94c1171757ded/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f73656f6170692d72752f6170692d636c69656e742d7068702e706e67)](http://travis-ci.org/seoapi-ru/api-client-php)

Usage
-----

[](#usage)

Install the client with Composer:

`composer require seoapi-ru/api-client-php`

Create client with username and password to authenticate:

```
$client = ApiClient::fromCredentials(
        'username',
        'password',
        new HttpClientFactory()
    );
```

...or using predefined session token.

```
// ... first steps: see previous example

$client = ApiClient::fromToken(self::VALID_TOKEN, self::BASE_URL, new HttpClientFactory());
```

Use client methods to call API counterparts.

```
$regions = $client->getRegions('москва');
$stats = $client->getDailyStatsReport('google', 2019, 2);
// etc, see tests
```

For expected JSON response formats refer JSON schemas located at tests/Functional/\*\*.\*Test.php

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/894539be091fbe3a316b4cde6d2d44f3515165ccb26ccda36442bfe51040dfdc?d=identicon)[shine86](/maintainers/shine86)

---

Top Contributors

[![velosipedist](https://avatars.githubusercontent.com/u/653773?v=4)](https://github.com/velosipedist "velosipedist (39 commits)")

### Embed Badge

![Health badge](/badges/seoapi-ru-api-client-php/health.svg)

```
[![Health](https://phpackages.com/badges/seoapi-ru-api-client-php/health.svg)](https://phpackages.com/packages/seoapi-ru-api-client-php)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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