PHPackages                             heimrichhannot/contao-be\_hyperlink-bundle - 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. heimrichhannot/contao-be\_hyperlink-bundle

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

heimrichhannot/contao-be\_hyperlink-bundle
==========================================

This bundle offers a simple backend hyperlink form field (text link or button).

2.0.2(5y ago)0887LGPL-3.0-or-laterPHPCI failing

Since Mar 20Pushed 5y ago4 watchersCompare

[ Source](https://github.com/heimrichhannot/contao-be_hyperlink-bundle)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-be_hyperlink-bundle)[ Docs](https://github.com/heimrichhannot/contao-be_hyperlink)[ RSS](/packages/heimrichhannot-contao-be-hyperlink-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (7)Versions (7)Used By (0)

Backend Hyperlink Bundle
========================

[](#backend-hyperlink-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/c0914c75031e0c117a275efbee2844a2b48dfeda9ffe10a341b1d88899ef646a/68747470733a2f2f706f7365722e707567782e6f72672f6865696d7269636868616e6e6f742f636f6e74616f2d62655f68797065726c696e6b2d62756e646c652f762f737461626c65)](https://packagist.org/packages/heimrichhannot/contao-be_hyperlink-bundle)[![Total Downloads](https://camo.githubusercontent.com/1bad48a44b832bccdabfd8141bc61eba0816cfd54496ff5f0d078dabf3a645ac/68747470733a2f2f706f7365722e707567782e6f72672f6865696d7269636868616e6e6f742f636f6e74616f2d62655f68797065726c696e6b2d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/heimrichhannot/contao-be_hyperlink-bundle)[![Travis](https://camo.githubusercontent.com/5c16852795965f3cb7586fe1b02b55c2cad6c0d2bfd9d40ca14a95f5b167efc5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6865696d7269636868616e6e6f742f636f6e74616f2d62655f68797065726c696e6b2d62756e646c652e737667)](https://travis-ci.org/heimrichhannot/contao-be_hyperlink-bundle)[![Coveralls github](https://camo.githubusercontent.com/b1f64da52729ddd333cabb4c752794e750b1638830a3c26b5a18669e69ca8e75/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f6865696d7269636868616e6e6f742f636f6e74616f2d62655f68797065726c696e6b2d62756e646c652e737667)](https://coveralls.io/github/heimrichhannot/contao-be_hyperlink-bundle)

This bundle offers a simple backend hyperlink form field (text link or button).

> For Contao 3 compability check out the [contao-3 branch](https://github.com/heimrichhannot/contao-be_hyperlink-bundle/tree/contao-3).

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

[](#requirements)

- Contao 4 (only tested with 4.4 LTS)
- PHP7 (only tested with PHP ^7.1)

Technical instructions
----------------------

[](#technical-instructions)

Just add the field to some of your data container arrays as follows:

```
$GLOBALS['TL_DCA']['tl_*']['fields']['myHyperlink'] = array
(
    'label'     => &$GLOBALS['TL_LANG']['tl_*']['myHyperlink'],
    'inputType' => 'hyperlink',
    'eval'      => array(
        'text' => &$GLOBALS['TL_LANG']['tl_*']['myHyperlinkText'], // string
        'linkClass'    => 'tl_submit', // use this for contao's button styling
        'tl_class' => 'long',
        'target' => '_blank',
        // the url can be specified as string, callback array ora callable function
        'url'      => 'http://www.example.org',
        'url'      => ['MyClass', 'getUrl'],
        'url'      => function(\DataContainer $objDc) {
            return sprintf('http://www.example.org?id=%s', $objDc->id);
        }
    )
);

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

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

Total

5

Last Release

1895d ago

Major Versions

1.0.1 → 2.0.02018-01-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Top Contributors

[![koertho](https://avatars.githubusercontent.com/u/12064642?v=4)](https://github.com/koertho "koertho (13 commits)")

---

Tags

bundlecontaofieldbackenddeveloperhyperlink

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-be-hyperlink-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/heimrichhannot-contao-be-hyperlink-bundle/health.svg)](https://phpackages.com/packages/heimrichhannot-contao-be-hyperlink-bundle)
```

###  Alternatives

[terminal42/contao-inserttags

Contao extension to create custom insert tags.

1050.8k](/packages/terminal42-contao-inserttags)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1415.5k](/packages/pdir-social-feed-bundle)

PHPackages © 2026

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