PHPackages                             martrix/yii2-ethnicmedia-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. martrix/yii2-ethnicmedia-client

ActiveYii2-extension

martrix/yii2-ethnicmedia-client
===============================

Ethnicmedia client

06PHP

Since Sep 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/martrix78/yii2-ethnicmedia-client)[ Packagist](https://packagist.org/packages/martrix/yii2-ethnicmedia-client)[ RSS](/packages/martrix-yii2-ethnicmedia-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Ethnicmedia client
==================

[](#ethnicmedia-client)

Ethnicmedia client

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist martrix/yii2-ethnicmedia-client "*"

```

or add

```
"martrix/yii2-ethnicmedia-client": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

1. Add to params.php 'EM\_apiKey' =&gt; API KEY,
2. Add to SiteController.php

```
	public function actions(){
		return array(
		'emclient' => array(
			'class'    => '\martrix\ethnicmediaClient\EmclientAction',
			'debug'    => true,
			'lang'     => 'en',
			'adsLimit' => 20,

		  ),
		);
	}

	public function actionClassifield(){
		$categoryId=Yii::$app->request->get('categoryId');
		$page=Yii::$app->request->get('page');
		return $this->render('ad',['categoryId'=>$categoryId,'page'=>$page]);
	}
```

example of use on template (ad.php):

```

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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/cba5685ac7820a884d8eae35eba0b0d43ae6515292955d71b00eded310ae4ad7?d=identicon)[martrix78](/maintainers/martrix78)

---

Top Contributors

[![martrix78](https://avatars.githubusercontent.com/u/3854497?v=4)](https://github.com/martrix78 "martrix78 (2 commits)")

### Embed Badge

![Health badge](/badges/martrix-yii2-ethnicmedia-client/health.svg)

```
[![Health](https://phpackages.com/badges/martrix-yii2-ethnicmedia-client/health.svg)](https://phpackages.com/packages/martrix-yii2-ethnicmedia-client)
```

PHPackages © 2026

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