PHPackages                             ws-cv-ua/ws-referral-link - 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. ws-cv-ua/ws-referral-link

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

ws-cv-ua/ws-referral-link
=========================

This package for hiding original link and show info about following

1.0.0(8y ago)09MITPHPPHP &gt;=5.4

Since Sep 1Pushed 8y agoCompare

[ Source](https://github.com/ws-cv-ua/ws-referral-link)[ Packagist](https://packagist.org/packages/ws-cv-ua/ws-referral-link)[ Docs](https://github.com/ws-cv-ua/ws-referral-link)[ RSS](/packages/ws-cv-ua-ws-referral-link/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

1. Run command

```
composer require ws-cv-ua/ws-referral-link

```

2. Run migration

```
yii migrate --migrationPath=@vendor/ws-cv-ua/ws-referral-link/migrations

```

3. Set referral action in frontend controller. For example:

```
...
public function actions()
{
    return [
        ...
        'referral' => [
            'class' => '\wscvua\ws_referral_link\actions\ReferralAction',
        ],
        ...
    ];
}
...
```

4. Set referral module in admin (backend) part of application. For example:

```
...
'modules' => [
    'referral' => [
        'class' => \wscvua\ws_referral_link\Module::className(),
        'adminPermission' => ['admin']
    ],
    ...
],
...
```

**adminPermission** is needle permission for access module

5. Referral widget example:

```
use wscvua\ws_referral_link\widgets\ReferralLink;

ReferralLink::widget([
    'url' => $url,
    'controller' => 'site'
]);
```

If **controller** field not set, then it will be have value of current controller

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3175d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3073370620d8729e089bc7525556d4f470f95b4aaf8e2cf234c45f3cba708e3a?d=identicon)[ws-cv-ua](/maintainers/ws-cv-ua)

---

Top Contributors

[![ws-cv-ua](https://avatars.githubusercontent.com/u/29913902?v=4)](https://github.com/ws-cv-ua "ws-cv-ua (4 commits)")

### Embed Badge

![Health badge](/badges/ws-cv-ua-ws-referral-link/health.svg)

```
[![Health](https://phpackages.com/badges/ws-cv-ua-ws-referral-link/health.svg)](https://phpackages.com/packages/ws-cv-ua-ws-referral-link)
```

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)

PHPackages © 2026

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