PHPackages                             wearesho-team/cpa-integration-yii - 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. [Framework](/categories/framework)
4. /
5. wearesho-team/cpa-integration-yii

AbandonedLibrary[Framework](/categories/framework)

wearesho-team/cpa-integration-yii
=================================

Yii2 integration of wearesho/cpa-integration

1.0.2(8y ago)034MITPHPPHP &gt;=7.0

Since Sep 11Pushed 8y ago2 watchersCompare

[ Source](https://github.com/wearesho-team/cpa-integration-yii)[ Packagist](https://packagist.org/packages/wearesho-team/cpa-integration-yii)[ RSS](/packages/wearesho-team-cpa-integration-yii/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (3)Versions (6)Used By (0)

CPA Integration for Yii2
========================

[](#cpa-integration-for-yii2)

[![codecov](https://camo.githubusercontent.com/d96b966ca3899d573211dfbbaaa63a927d0185b87734b5827df890a48fc347fd/68747470733a2f2f636f6465636f762e696f2f67682f776561726573686f2d7465616d2f6370612d696e746567726174696f6e2d7969692f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/wearesho-team/cpa-integration-yii)[![Build Status](https://camo.githubusercontent.com/3281fde9ceabc3d068545059d0fed7e9a3adaf2e0958e0ba439cf9861ac67ba1/68747470733a2f2f7472617669732d63692e6f72672f776561726573686f2d7465616d2f6370612d696e746567726174696f6e2d7969692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wearesho-team/cpa-integration-yii)[![License](https://camo.githubusercontent.com/d9510c7e3616d2aad85ceeae83d44771c144834f49b52037dd351e07239ed778/68747470733a2f2f706f7365722e707567782e6f72672f776561726573686f2d7465616d2f6370612d696e746567726174696f6e2d7969692f6c6963656e7365)](https://packagist.org/packages/wearesho-team/cpa-integration-yii)[![Latest Stable Version](https://camo.githubusercontent.com/90cce2083c5cc9251798d093b56b7310bbb0d8708518f17f0c414f48bd23fb2f/68747470733a2f2f706f7365722e707567782e6f72672f776561726573686f2d7465616d2f6370612d696e746567726174696f6e2d7969692f76657273696f6e)](https://packagist.org/packages/wearesho-team/cpa-integration-yii)

See [original repository](https://github.com/wearesho-team/cpa-integration) for details.

Contents
--------

[](#contents)

### Repositories

[](#repositories)

#### Session repositories

[](#session-repositories)

1. [LeadSessionRepository](./docs/LeadSessionRepository.md)Session storage for CPA leads (use default Yii2 session manager, \\Yii::$app-&gt;session)

#### Database repositories

[](#database-repositories)

*Notice: you can use your own ActiveRecord implementation of storage, see repository documentation for details*

1. [LeadRepository](./docs/LeadRepository.md) - Database repository for CPA leads (includes [ActiveRecord model](./src/Models/StoredLead.php) and [migration](./migrations/m170910_122042_create_stored_lead_table.php))
2. [ConversionRepository](./docs/ConversionRepository.md) - Database repository for CPA conversions (includes [ActiveRecord model](./src/Models/StoredConversionRecord.php) and [migration](./migrations/m170910_122053_create_stored_conversion_table.php)).

### Behaviors

[](#behaviors)

1. [LeadBehavior](./docs/LeadBehavior.md) - Allow you to catch lead and store it in LeadRepository
2. [ConversionBehavior](./docs/ConversionBehavior.md) - Allow you to convert lead from LeadRepository to conversion (using ConversionRepository to save it and PostbackService to send information to lead generator)

### Migrations

[](#migrations)

In your project directory, after library installation

```
php yii migrate --migrationPath=vendor/wearesho-team/cpa-integration-yii/migrations
```

### Installation

[](#installation)

```
composer require wearesho-team/cpa-integration-yii
```

Contributors
------------

[](#contributors)

1. [Alexander Letnikow](https://github.com/Horat1us)

License
-------

[](#license)

[MIT](./LICENSE)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 92.6% 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 ~3 days

Total

3

Last Release

3160d ago

### Community

Maintainers

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

---

Top Contributors

[![Horat1us](https://avatars.githubusercontent.com/u/2751367?v=4)](https://github.com/Horat1us "Horat1us (25 commits)")[![sashabeton](https://avatars.githubusercontent.com/u/23243361?v=4)](https://github.com/sashabeton "sashabeton (2 commits)")

---

Tags

yii2extensionwidgetbaseadmitadcpaloangateweareshosalesdoublerhorat1usprimelead

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wearesho-team-cpa-integration-yii/health.svg)

```
[![Health](https://phpackages.com/badges/wearesho-team-cpa-integration-yii/health.svg)](https://phpackages.com/packages/wearesho-team-cpa-integration-yii)
```

###  Alternatives

[kartik-v/yii2-krajee-base

Base library and foundation components for all Yii2 Krajee extensions.

6811.6M109](/packages/kartik-v-yii2-krajee-base)[miloschuman/yii2-highcharts-widget

Highcharts widget for Yii 2 Framework.

1761.5M14](/packages/miloschuman-yii2-highcharts-widget)[thiagotalma/yii2-fullcalendar

Widget for Yii Framework 2.0 to use FullCalendar

1777.7k](/packages/thiagotalma-yii2-fullcalendar)

PHPackages © 2026

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