Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 38 | All time: 10,962 This week: 44![]() |
Version | License | PHP version | Categories | |||
dating-affiliate-too 1.0 | GNU General Publi... | 5 | PHP 5, Web services |
DAT is a Useful and Powerful affiliate tools to increase/boost easily your Affiliate Programs.
Frontend code. On your POST registration form
<input type="checkbox" name="register_to_partner" value="1" />
Backend code. When the user submit the form
use DAT\Service\Identifier\Affiliate as AffiliateId;
use DAT\Service\Provider\TAC\EveFlirt;
use DAT\Tool\Client\Registration;
if (!empty($_POST['register_to_partner'])) {
// if user consented it
$aData = [
// user data to send to the affiliate platform
];
$oAffiliateId = new AffiliateId('<YOUR_AFFILIATE_ID>');
$oEveFlirt = new EveFlirt($oAffiliateId);
$oRegister = new Registration($oEveFlirt, $aData);
$oRegister->random(); // Optional. Sets the registration niche random
$oRegister->send();
}
## Requirements
* PHP 5.6 or higher
* Composer
* cURL PHP library
## Installation
* Install Composer (https://getcomposer.org)
* Then, include it in your project:
composer require ph-7/dating-affiliate-tools
## Who I Am?
Pierre-Henry Soria, a passionate software engineer and creator of pH7CMS, for instance.
## Where to Contact Me?
pierrehenrysoria+github [[AT]] gmail [[D0T]] com
## Disclaimer
The purpose of those tools is to help webmasters and affiliate programs to increase their revenue, but the DAT tools (Dating Affiliate Tools) have to be used only if their usage respect the affiliate platform's terms.
You CANNOT use this library against the TOS of the services present in this library.
There are there as an example, and it is your responsability to check the up-to-date TOS and/or speak to your affiliate manager of the affiliate program(s) to see if you can use those tools.
YOU are fully responsible of the usage of it and YOU CANNOT use it illegally or against those Web services. This present library (Dating-Affiliation-Tools / DAT) and myself (the present author) cannot be in any case responsible of the usage you make with it.
## License
Under General Public License 3 or later.
Files (14)
File
Role
Description
src (2 directories)
tests (2 directories)
composer.json
Data
Auxiliary data
phpunit.xml.dist
Data
Auxiliary data
README.md
Doc.
Documentation
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer

dating-affiliate-too-2021-11-20.zip 9KB 
dating-affiliate-too-2021-11-20.tar.gz 4KB 
Install with Composer
Version Control Unique User Downloads Download Rankings 100% Total: 38 This week: 0
All time: 10,962 This week: 44 
Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.