PHPackages                             uspc/affiliate-redirect - 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. uspc/affiliate-redirect

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

uspc/affiliate-redirect
=======================

Tool for Redirecting Affiliate Links

07PHP

Since Jul 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/maMykola/affiliate-redirect)[ Packagist](https://packagist.org/packages/uspc/affiliate-redirect)[ RSS](/packages/uspc-affiliate-redirect/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

```
1. Put this project into root _affiliate_ folder

2. Add following lines into website root file .htaccess

    RewriteEngine On

    RewriteCond %{REQUEST_URI}      ^/track$
    RewriteRule .*  /affiliate/affiliate-replace.php  [L,QSA]

    RewriteCond %{REQUEST_URI}      ^/go$
    RewriteRule .*  /affiliate/link-redirect.php    [L,QSA]

    RewriteCond %{REQUEST_URI}      ^/details$
    RewriteRule .*  /affiliate/link-info.php        [L,QSA]

3. Set parameters (copy first from parameters.dist.php)

    cp parameters.dist.php parameters.php
    vim parameters.php
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a9312b50300f5f37728d67c47ece494945b880b0c651856214b06640aed6770e?d=identicon)[mykola-uspc](/maintainers/mykola-uspc)

---

Top Contributors

[![maMykola](https://avatars.githubusercontent.com/u/3263273?v=4)](https://github.com/maMykola "maMykola (7 commits)")

### Embed Badge

![Health badge](/badges/uspc-affiliate-redirect/health.svg)

```
[![Health](https://phpackages.com/badges/uspc-affiliate-redirect/health.svg)](https://phpackages.com/packages/uspc-affiliate-redirect)
```

###  Alternatives

[lukeyouell/craft-geocookie

Collect information about a visitor's location based on their IP address and store the information as a cookie.

136.3k](/packages/lukeyouell-craft-geocookie)

PHPackages © 2026

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