PHP Classes

PHP Dating Affiliate Tools: Allow to register in affiliate site from your site

Recommend this page to a friend!
  Info   View files Documentation   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 37 This week: 1All time: 10,888 This week: 560Up
Version License PHP version Categories
dating-affiliate-too 1.0GNU General Publi...5PHP 5, Web services
Description 

Author

This package can allow registering in affiliate sites from your site.

It can process the request of submission of a form presented in your site from a user that wants to register in an affiliate site.

The package can send a request to the affiliate site to submit the registration form, so the user remains in your site.

It can provide support to many affiliate sites. Currently it provides built-in support to EasyFlirt dating site.

Innovation Award
PHP Programming Innovation award nominee
November 2021
Number 6
Affiliation can be a good opportunity for different businesses to collaborate to sell products and services. The affiliate business can receive a share of the profits from the other company.

Business affiliation usually works by exposing links in the affiliate site that point to the registration page of the other business site.

This package provides a solution to simplify the process by showing the registration form on the affiliate site.

Manuel Lemos
Picture of Pierre-Henry Soria
  Performance   Level  
Name: Pierre-Henry Soria <contact>
Classes: 46 packages by
Country: United Kingdom
Age: 33
All time rank: 37916 in United Kingdom
Week rank: 22 Up1 in United Kingdom Up
Innovation award
Innovation award
Nominee: 17x

Winner: 3x

Documentation

Dating Affiliate Tools (DAT)

DAT is a Useful and Powerful affiliate tools to increase/boost easily your Affiliate Programs.

Is it difficult and painful to get more traction/users to the affiliates services you promote on your website?

You tried to display affiliate banners, but the conversion rates is really poor?

What you really need is a simple way to get affiliate commissions in the same time than a simple action on your website. Users will be much likely to use the affiliate service. The users won't leave your website's page (unlike clicking on affiliate banners) and you won't have more work to do..

DAT Registration tool is just a simple piece of code to add on any registration forms asking (with a input checkbox field) if they also want to be registered on a "friend" partner service to increase the chance of solving their problem (like dating someone for a dating service).

How DAT Works?

  1. Frontend code. On your POST registration form
    <input type="checkbox" name="register_to_partner" value="1" />
    
  2. 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 folder image Files  
File Role Description
Files folder imagesrc (2 directories)
Files folder imagetests (2 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageService (2 directories)
Files folder imageTool (1 directory)

  Files folder image Files  /  src  /  Service  
File Role Description
Files folder imageIdentifier (2 files)
Files folder imageProvider (1 file, 2 directories)

  Files folder image Files  /  src  /  Service  /  Identifier  
File Role Description
  Plain text file Affiliate.php Class Class source
  Plain text file InvalidAffiliateIdException.php Class Class source

  Files folder image Files  /  src  /  Service  /  Provider  
File Role Description
Files folder imagePrelinker (1 file)
Files folder imageTAC (1 file)
  Plain text file Providable.php Class Class source

  Files folder image Files  /  src  /  Service  /  Provider  /  Prelinker  
File Role Description
  Plain text file EasyFlirt.php Class Class source

  Files folder image Files  /  src  /  Service  /  Provider  /  TAC  
File Role Description
  Plain text file EveFlirt.php Class Class source

  Files folder image Files  /  src  /  Tool  
File Role Description
Files folder imageClient (2 files)

  Files folder image Files  /  src  /  Tool  /  Client  
File Role Description
  Plain text file Registrable.php Class Class source
  Plain text file Registration.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageService (2 directories)
Files folder imageTool (1 directory)

  Files folder image Files  /  tests  /  Service  
File Role Description
Files folder imageIdentifier (1 file)
Files folder imageProvider (2 directories)

  Files folder image Files  /  tests  /  Service  /  Identifier  
File Role Description
  Plain text file AffiliateTest.php Class Class source

  Files folder image Files  /  tests  /  Service  /  Provider  
File Role Description
Files folder imagePrelinker (1 file)
Files folder imageTAC (1 file)

  Files folder image Files  /  tests  /  Service  /  Provider  /  Prelinker  
File Role Description
  Plain text file EasyFlirtTest.php Class Class source

  Files folder image Files  /  tests  /  Service  /  Provider  /  TAC  
File Role Description
  Plain text file EveFlirtTest.php Class Class source

  Files folder image Files  /  tests  /  Tool  
File Role Description
Files folder imageClient (1 file)

  Files folder image Files  /  tests  /  Tool  /  Client  
File Role Description
  Plain text file RegistrationTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:37
This week:1
All time:10,888
This week:560Up