PHPackages                             yawaweb/affiliate-deeplink-generator - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yawaweb/affiliate-deeplink-generator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yawaweb/affiliate-deeplink-generator
====================================

Generate deeplinks from different affiliate networks.

2.0.0(3y ago)337MITPHPPHP &gt;=8.0

Since May 21Pushed 3y ago2 watchersCompare

[ Source](https://github.com/yawaweb/affiliate-deeplink-generator)[ Packagist](https://packagist.org/packages/yawaweb/affiliate-deeplink-generator)[ Docs](https://github.com/yawaweb/affiliate-deeplink-generator)[ RSS](/packages/yawaweb-affiliate-deeplink-generator/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)DependenciesVersions (5)Used By (0)

Affiliate Deeplink Generator 2.0
================================

[](#affiliate-deeplink-generator-20)

Create dynamic affiliate deeplink urls from different networks.

Requirements
------------

[](#requirements)

- PHP &gt;=8.0

Supported Affiliate Networks
----------------------------

[](#supported-affiliate-networks)

- Ebay
- Awin
- Belboon
- Digistore24

You are welcome to make a pull request with more choices.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

```
composer require yawaweb/affiliate-deeplink-generator
```

Usage
-----

[](#usage)

Once the is installed, simply use it in your code. The following example shows you how to create a valid tracking url.

For awin :

```
use yawaweb\AffiliateDeeplinkGenerator\Networks\Awin;

$awin = new Awin(123456789); //Publisher ID
$awin->setAdvertiserId(1234); //REQUIRED
$awin->setCampaignRef('myCampaign'); //OPTIONAL
$awin->setClickRef('custom click reference'); //OPTIONAL

$awin->getByDeeplink('https://www.example.com/search/?sSearch=football');
```

this generates:

```
https://www.awin1.com/cread.php?awinmid=123&awinaffid=123456789&clickref=custom+click+ref&campaign=myCampaign&ued=https%3A%2F%2Fwww.example.com%2Fsearch%2F%3FsSearch%3Dfootball

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~213 days

Total

4

Last Release

1229d ago

Major Versions

v1.0.2-stable → 2.0.02023-02-20

PHP version history (3 changes)1.0.0PHP &gt;=7.4

v1.0.2-stablePHP &gt;=7.2.5

2.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/35897222?v=4)[Ousama Yamine](/maintainers/yawaweb)[@yawaweb](https://github.com/yawaweb)

---

Top Contributors

[![yawaweb](https://avatars.githubusercontent.com/u/35897222?v=4)](https://github.com/yawaweb "yawaweb (28 commits)")

---

Tags

urlaffiliatelink generator

### Embed Badge

![Health badge](/badges/yawaweb-affiliate-deeplink-generator/health.svg)

```
[![Health](https://phpackages.com/badges/yawaweb-affiliate-deeplink-generator/health.svg)](https://phpackages.com/packages/yawaweb-affiliate-deeplink-generator)
```

###  Alternatives

[spatie/url

Parse, build and manipulate URL's

74115.7M123](/packages/spatie-url)[league/uri-components

URI components manipulation library

31940.5M98](/packages/league-uri-components)[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6758.1M80](/packages/jbroadway-urlify)[sabre/uri

Functions for making sense out of URIs.

29437.7M45](/packages/sabre-uri)[spomky-labs/base64url

Base 64 URL Safe Encoding/Decoding PHP Library

15442.9M61](/packages/spomky-labs-base64url)[misd/linkify

Converts URLs and email addresses in text into HTML links

1163.2M12](/packages/misd-linkify)

PHPackages © 2026

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