PHPackages                             asinfotrack/yii2-hyperlinks - 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. asinfotrack/yii2-hyperlinks

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

asinfotrack/yii2-hyperlinks
===========================

Yii2-hyperlinks is a module and set of functionality to add hyperlinks to a model in a generic way

1.0.0(6y ago)0454[1 PRs](https://github.com/asinfotrack/yii2-hyperlinks/pulls)MITPHPPHP &gt;=7.1.0

Since May 2Pushed 5y ago3 watchersCompare

[ Source](https://github.com/asinfotrack/yii2-hyperlinks)[ Packagist](https://packagist.org/packages/asinfotrack/yii2-hyperlinks)[ RSS](/packages/asinfotrack-yii2-hyperlinks/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (3)Versions (9)Used By (0)

Yii2-hyperlinks
===============

[](#yii2-hyperlinks)

Yii2-hyperlinks is a module and set of functionality to add hyperlinks to a model in a generic way

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

[](#installation)

### Basic installation

[](#basic-installation)

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

Either run

```
$ composer require asinfotrack/yii2-hyperlinks
```

or add

```
"asinfotrack/yii2-hyperlinks": "~0.8.0"

```

to the `require` section of your `composer.json` file.

### Migration

[](#migration)

After downloading you need to apply the migration creating the required tables:

```
yii migrate --migrationPath=@vendor/asinfotrack/yii2-hyperlinks/migrations

```

To remove the table just do the same migration downwards.

### Add the module to the yii-config

[](#add-the-module-to-the-yii-config)

```
    'modules'=>[

        //your other modules...

        'hyperlinks'=>[
            'class'=>'asinfotrack\yii2\hyperlinks\Module',

            'userRelationCallback'=>function ($model, $attribute) {
                return $model->hasOne('app\models\User', ['id'=>$attribute]);
            },
            'backendAccessControl'=>[
                'class'=>'yii\filters\AccessControl',
                'rules'=>[
                    ['allow'=>true, 'roles'=>['@']],
                ],
            ],
        ],
    ],
```

For a full list of options, see the attributes of the classes within the module. Especially check the classes `asinfotrack\yii2\hyperlinks\Module`. Some examples are provided below.

Changelog
---------

[](#changelog)

###### [v1.0.0](https://github.com/asinfotrack/yii2-hyperlinks/releases/tag/1.0.0)

[](#v100)

- dependency update (**potential breaking change!**)

###### [v0.8.5](https://github.com/asinfotrack/yii2-hyperlinks/releases/tag/0.8.5)

[](#v085)

- bottons arrangement changed

###### [v0.8.4](https://github.com/asinfotrack/yii2-hyperlinks/releases/tag/0.8.4)

[](#v084)

- bug fix hyper link create

###### [v0.8.3](https://github.com/asinfotrack/yii2-hyperlinks/releases/tag/0.8.3)

[](#v083)

- bug fix label translation
- bottons arrangement changed

###### [v0.8.2](https://github.com/asinfotrack/yii2-hyperlinks/releases/tag/0.8.2)

[](#v082)

- bug fix pop up client validation
- changed url attribute in grid widget for @web

###### [v0.8.1](https://github.com/asinfotrack/yii2-hyperlinks/releases/tag/0.8.1)

[](#v081)

- changed url validator to use @web

###### [v0.8.0](https://github.com/asinfotrack/yii2-hyperlinks/releases/tag/0.8.0)

[](#v080)

- main classes in a stable condition
- further features will be added in a backwards-compatible way from here on
- all breaking changes will lead to a new minor version.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~105 days

Recently: every ~126 days

Total

7

Last Release

2303d ago

Major Versions

0.8.5 → 1.0.02020-01-20

PHP version history (2 changes)0.8.0PHP &gt;=5.4.0

1.0.0PHP &gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/32196c480a4cca0724afc5982064d2f02aa2975f66e5bef343f7f72f6cefaf08?d=identicon)[asinfotrack](/maintainers/asinfotrack)

---

Top Contributors

[![pasci84](https://avatars.githubusercontent.com/u/6659672?v=4)](https://github.com/pasci84 "pasci84 (7 commits)")[![leonardoparrino](https://avatars.githubusercontent.com/u/36159182?v=4)](https://github.com/leonardoparrino "leonardoparrino (5 commits)")[![tomlutzenberger](https://avatars.githubusercontent.com/u/5536910?v=4)](https://github.com/tomlutzenberger "tomlutzenberger (3 commits)")

---

Tags

bundleyii2moduleBehaviorwidgetactionhyperlinkhyperlinks

### Embed Badge

![Health badge](/badges/asinfotrack-yii2-hyperlinks/health.svg)

```
[![Health](https://phpackages.com/badges/asinfotrack-yii2-hyperlinks/health.svg)](https://phpackages.com/packages/asinfotrack-yii2-hyperlinks)
```

###  Alternatives

[asinfotrack/yii2-audittrail

Yii2-audittrail is a behavior and a set of widgets to track all modifications performed on a model

1727.0k](/packages/asinfotrack-yii2-audittrail)[sjaakp/yii2-taggable

Manage tags of ActiveRecord in Yii2.

3030.6k](/packages/sjaakp-yii2-taggable)[asinfotrack/yii2-toolbox

Yii2-Toolbox is a collection of useful helpers, widgets etc. extending the basic functionality of Yii2

1230.5k5](/packages/asinfotrack-yii2-toolbox)[hiqdev/yii2-language

Yii2 module for language switching

1126.1k1](/packages/hiqdev-yii2-language)

PHPackages © 2026

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