PHPackages                             zacksleo/yii2-ad - 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. zacksleo/yii2-ad

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

zacksleo/yii2-ad
================

yii2 ad manage module

3.0.1(7y ago)26.3k1MITPHPCI failing

Since Feb 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/zacksleo/yii2-ad)[ Packagist](https://packagist.org/packages/zacksleo/yii2-ad)[ RSS](/packages/zacksleo-yii2-ad/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (3)Versions (20)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/f97b508acfb3881ee26c28a9872ee5a9c8e90ee2b87203fdea1fc941063d864c/68747470733a2f2f706f7365722e707567782e6f72672f7a61636b736c656f2f796969322d61642f76657273696f6e)](https://packagist.org/packages/zacksleo/yii2-ad)[![Total Downloads](https://camo.githubusercontent.com/77b74151d56baea1f105a16f8ce477637d3c67f9b5fd49e224547d1202137b73/68747470733a2f2f706f7365722e707567782e6f72672f7a61636b736c656f2f796969322d61642f646f776e6c6f616473)](https://packagist.org/packages/zacksleo/yii2-ad)[![License](https://camo.githubusercontent.com/11933060b3a75f588610ae9160de4c219fa49c516d4b97cbdefce1b7f89e6d52/68747470733a2f2f706f7365722e707567782e6f72672f7a61636b736c656f2f796969322d61642f6c6963656e7365)](https://packagist.org/packages/zacksleo/yii2-ad)[![Build Status](https://camo.githubusercontent.com/20ca55f6508c31f9536102e3cb86b9baa77a112c8a27db69e413fcc5c6ab084d/68747470733a2f2f7472617669732d63692e6f72672f7a61636b736c656f2f796969322d61642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/zacksleo/yii2-ad)[![StyleCI](https://camo.githubusercontent.com/0f0359a429a3236fc46f710e806a3073584b06a8f743e2500a1adccc3b5f16ac/68747470733a2f2f7374796c6563692e696f2f7265706f732f38323331383930372f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/82318907)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5ca1707576135844ca1c2e96e042ffae6add8ba2d3b826ba71be0cabe41aebdb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7a61636b736c656f2f796969322d61642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/zacksleo/yii2-ad/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/a7eb60af0124cf4c94ad8828516328bc4d8677b40d67916a2e7f4f2f1dfde544/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7a61636b736c656f2f796969322d61642f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/zacksleo/yii2-ad/?branch=master)

yii2 ad module
==============

[](#yii2-ad-module)

Prerequisites
=============

[](#prerequisites)

Install [Yii2 attachments](https://github.com/Nemmo/yii2-attachments) first

Migration
---------

[](#migration)

- Config Migration Path in Yii config file like this

```
    'controllerMap' => [
        'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            'migrationPath' => [
                ...
                '@zacksleo/yii2/ad/migrations',
            ],
        ],
    ],

```

- Or run migration by By migrationPath Parameter

```
  ./yii migrate --migrationPath=@zacksleo/yii2/ad/migrations

```

Config Module in components part
--------------------------------

[](#config-module-in-components-part)

```
    'rom-release' => [
        'class' => 'zacksleo\yii2\ad\Module',
    ]

```

Use Actions
-----------

[](#use-actions)

```
class AdController extends Controller
{
    public function actions()
    {
        return [
            'index' => [
                'class' => 'zacksleo\yii2\ad\actions\IndexAction'
            ]
        ];
    }
}

```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 51.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 ~50 days

Total

16

Last Release

2661d ago

Major Versions

v0.0.1 → 1.0.02017-06-09

1.4.2 → 2.0.02018-09-11

2.0.3 → 3.0.02019-03-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e97b8a6f67b09513e345a128d73a63898ae1ec9f6a6c77234c78b3f16d305d1?d=identicon)[zacksleo](/maintainers/zacksleo)

---

Top Contributors

[![zacksleo](https://avatars.githubusercontent.com/u/3369169?v=4)](https://github.com/zacksleo "zacksleo (44 commits)")[![monster-hunter](https://avatars.githubusercontent.com/u/7071275?v=4)](https://github.com/monster-hunter "monster-hunter (36 commits)")[![withubmoa](https://avatars.githubusercontent.com/u/4962678?v=4)](https://github.com/withubmoa "withubmoa (6 commits)")

---

Tags

yii2yii2-extensionyii2-modules

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zacksleo-yii2-ad/health.svg)

```
[![Health](https://phpackages.com/badges/zacksleo-yii2-ad/health.svg)](https://phpackages.com/packages/zacksleo-yii2-ad)
```

###  Alternatives

[dachcom-digital/seo

Pimcore SEO Enrichment Bundle

35227.1k2](/packages/dachcom-digital-seo)[starfederation/datastar-php

A PHP SDK for working with Datastar.

4128.9k13](/packages/starfederation-datastar-php)[angle/chrono

The easiest way to measure PHP code execution time.

2816.2k](/packages/angle-chrono)

PHPackages © 2026

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