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
Requires
- php: >=7.0
- wearesho-team/cpa-integration: ^1.1.3
- yiisoft/yii2: ^2.0.12
Requires (Dev)
- phpunit/phpunit: ^6.2
This package is auto-updated.
Last update: 2020-07-03 07:54:47 UTC
README
See original repository for details.
Contents
Repositories
Session repositories
- 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
-
LeadRepository - Database repository for CPA leads (includes ActiveRecord model and migration)
-
ConversionRepository - Database repository for CPA conversions (includes ActiveRecord model and migration).
Behaviors
- LeadBehavior - Allow you to catch lead and store it in LeadRepository
- 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