PHPackages                             s37dap42x/yandex-rich-content-api - 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. s37dap42x/yandex-rich-content-api

ActiveLibrary[API Development](/categories/api)

s37dap42x/yandex-rich-content-api
=================================

Client fo Yandex Rich Content API

1.1.2(10y ago)437MITPHPPHP &gt;=5.5.0

Since Nov 5Pushed 10y ago1 watchersCompare

[ Source](https://github.com/s37dap42x/yandex-rich-content-api)[ Packagist](https://packagist.org/packages/s37dap42x/yandex-rich-content-api)[ Docs](https://github.com/s37dap42x/yandex-rich-content-api)[ RSS](/packages/s37dap42x-yandex-rich-content-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

Yandex Rich Content API
=======================

[](#yandex-rich-content-api)

Client for Yandex Rich Content API

The Rich Content API provides access to the Yandex content system, containing tens of billions of pages. For any of them, you can receive the snippet, title and URL in canonical form, as well as the complete text and also a list of links to the images and videos they contain. This API is useful for services whose users exchange links. It allows them to see a preview of any web page without leaving the service.

[API reference](https://tech.yandex.com/rca/)

Versioning
==========

[](#versioning)

Package version corresponds to the version of the API.

Installation
============

[](#installation)

Use composer:

`composer require s37dap42x/yandex-rich-content-api`

or manually add into your `composer.json`:

```
{
  "require": {
    "s37dap42x/yandex-rich-content-api": "1.1.*"
  }
}
```

and then use the update command: `composer update`

Usage
=====

[](#usage)

[Get your own api key](https://tech.yandex.com/keys/get/?service=rca)

```
use Yandex\RichContentAPI\RichContent;

$key = "rca.1.1...";
$url = "http://yandex.com";

try {
    $yandex = new RichContent($key);

    // Set optional parameters
    $yandex->setOptions(['img' => 'no', 'content' => 'full']);

    $data = $yandex->getContent($url);
    var_dump($data); // object
} catch (Exception $e) {
    echo $e->getMessage();
}
```

\#License

[MIT](LICENSE)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

3840d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a42e9226f5aab602cd7b3085cec7ecc29373034621f2cdb345305f28f0fcd4bf?d=identicon)[s37dap42x](/maintainers/s37dap42x)

---

Top Contributors

[![s37dap42x](https://avatars.githubusercontent.com/u/15037070?v=4)](https://github.com/s37dap42x "s37dap42x (21 commits)")

---

Tags

apiyandex

### Embed Badge

![Health badge](/badges/s37dap42x-yandex-rich-content-api/health.svg)

```
[![Health](https://phpackages.com/badges/s37dap42x-yandex-rich-content-api/health.svg)](https://phpackages.com/packages/s37dap42x-yandex-rich-content-api)
```

###  Alternatives

[yandex/geo

PHP-library for interactions with geo-coding Yandex.Maps

117309.0k3](/packages/yandex-geo)[hardworm/webmaster.api

Yandex Webmaster Api v4.1 library

109.7k](/packages/hardworm-webmasterapi)

PHPackages © 2026

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