PHPackages                             arachne/link-new-tab - 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. arachne/link-new-tab

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

arachne/link-new-tab
====================

Latte macro for links that should open in new tab.

09PHP

Since May 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/deprecated-packages/LinkNewTab)[ Packagist](https://packagist.org/packages/arachne/link-new-tab)[ RSS](/packages/arachne-link-new-tab/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Arachne/LinkNewTab
==================

[](#arachnelinknewtab)

[![Build Status](https://camo.githubusercontent.com/b006c9d9348a2a934ecf71f881b49260a624730d6fe704412fdc7510c394a129/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f41726163686e652f4c696e6b4e65775461622e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Arachne/LinkNewTab)[![Coverage Status](https://camo.githubusercontent.com/105090abaaf3a945fd2ffd7ce1bd826ecba6b217b41a6b759279aabbeccbec46/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f41726163686e652f4c696e6b4e65775461622e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/Arachne/LinkNewTab)[![Latest stable](https://camo.githubusercontent.com/1830d8134f12c774b790edaac96e5adf6bdcc5790e80ff69a0222dc0ecd565fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61726163686e652f6c696e6b2d6e65772d7461622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arachne/link-new-tab)[![Downloads this Month](https://camo.githubusercontent.com/d455272dea5b9e06de7b3d6828707a54d61c4210cc0d0765edc807d4fd5756a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f61726163686e652f6c696e6b2d6e65772d7461622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arachne/link-new-tab)[![License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/Arachne/LinkNewTab/blob/master/license.md)

Latte macro for links that should open in new tab.

Inspired by [this article](https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/).

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

[](#installation)

The best way to install Arachne/LinkNewTab is using [Composer](http://getcomposer.org/).

```
$ composer require arachne/link-new-tab
```

Usage
-----

[](#usage)

```
// Your latte template.
google

// HTML result.
google

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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/ac6d98091d07a41ebf65cf8496d73e14297ada4031f998d68a2ab30e6ef8a883?d=identicon)[enumag](/maintainers/enumag)

---

Top Contributors

[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (1 commits)")

### Embed Badge

![Health badge](/badges/arachne-link-new-tab/health.svg)

```
[![Health](https://phpackages.com/badges/arachne-link-new-tab/health.svg)](https://phpackages.com/packages/arachne-link-new-tab)
```

PHPackages © 2026

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