wearesho-team/cpa-integration-yii

This package is abandoned and no longer maintained. No replacement package was suggested.

Yii2 integration of wearesho/cpa-integration

1.0.2 2017-09-18 10:09 UTC

This package is auto-updated.

Last update: 2020-07-03 07:54:47 UTC


README

codecov Build Status License Latest Stable Version

See original repository for details.

Contents

Repositories

Session repositories

  1. LeadSessionRepository Session storage for CPA leads (use default Yii2 session manager, \Yii::$app->session)

Database repositories

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

  1. LeadRepository - Database repository for CPA leads (includes ActiveRecord model and migration)

  2. ConversionRepository - Database repository for CPA conversions (includes ActiveRecord model and migration).

Behaviors

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

Migrations

In your project directory, after library installation

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

Installation

composer require wearesho-team/cpa-integration-yii

Contributors

  1. Alexander Letnikow

License

MIT