PHPackages                             nextras/link-factory - 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. nextras/link-factory

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

nextras/link-factory
====================

Simple link factory independent of presenter.

v1.1.0(10y ago)2320.3k6MITPHPPHP &gt;=5.3

Since Aug 21Pushed 6y ago2 watchersCompare

[ Source](https://github.com/nextras/link-factory)[ Packagist](https://packagist.org/packages/nextras/link-factory)[ RSS](/packages/nextras-link-factory/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

Nextras LinkFactory
===================

[](#nextras-linkfactory)

====================

**This repository is deprecated.
The same functionality is provided by Nette Framework itself.
Use `LinkGenerator` in [nette/application](https://github.com/nette/application).**

====================

[![Build Status](https://camo.githubusercontent.com/25d2a18d916c64e9684c45221e2302442e41ae31b7a711ba5bc9ad2bed966bac/68747470733a2f2f7472617669732d63692e6f72672f6e6578747261732f6c696e6b2d666163746f72792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nextras/link-factory)[![Downloads this Month](https://camo.githubusercontent.com/d82201931d361c6de00459dfb1587833f03ed1664d435aab6edfe0a2ecd772a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e6578747261732f6c696e6b2d666163746f72792e7376673f7374796c653d666c6174)](https://packagist.org/packages/nextras/link-factory)[![Stable version](https://camo.githubusercontent.com/1ffd4aa57f1fff16826146336a87b2dea17cede01ef5c98681db21f949280b40/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6578747261732f6c696e6b2d666163746f72792e7376673f7374796c653d666c6174)](https://packagist.org/packages/nextras/link-factory)[![HHVM Status](https://camo.githubusercontent.com/0f8fbdca57be50bdcbf9fab5e458daff65aaba421d9b92ab76f084e37b2a5e50/687474703a2f2f696d672e736869656c64732e696f2f6868766d2f6e6578747261732f6c696e6b2d666163746f72792e7376673f7374796c653d666c6174)](http://hhvm.h4cc.de/package/nextras/link-factory)

### Installation

[](#installation)

Add to your composer.json:

```
"require": {
	"nextras/link-factory": "~1.0"
}

```

### Example

[](#example)

```
use Nextras\Application\LinkFactory;

class Example
{
	/** @var LinkFactory */
	private $linkFactory;

	public function __construct(LinkFactory $linkFactory)
	{
		$this->linkFactory = $linkFactory;
	}

	public function doSomething()
	{
		// relative link with optional fragment (#comments) and parameters
		$link = $this->linkFactory->link('Products:view#comments', ['id' => 123]);

		// absolute link starts with '//'
		$link = $this->linkFactory->link('//Homepage:default');
	}
}
```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 63.3% 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 ~96 days

Total

5

Last Release

3904d ago

PHP version history (3 changes)v1.0.0PHP ~5.4

v1.0.1PHP ~5.3

v1.0.3PHP &gt;=5.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/953773db6e30161b5e76572bf909c24e8ef07d7419aeebc311e071600ea99bef?d=identicon)[hrach](/maintainers/hrach)

![](https://www.gravatar.com/avatar/6163a0eec16c2bfc9cce0c7c8801b5166cca9af81a146764676059a965044000?d=identicon)[JanTvrdik](/maintainers/JanTvrdik)

---

Top Contributors

[![JanTvrdik](https://avatars.githubusercontent.com/u/175109?v=4)](https://github.com/JanTvrdik "JanTvrdik (19 commits)")[![hrach](https://avatars.githubusercontent.com/u/284263?v=4)](https://github.com/hrach "hrach (9 commits)")[![brabijan](https://avatars.githubusercontent.com/u/2448709?v=4)](https://github.com/brabijan "brabijan (1 commits)")[![mibk](https://avatars.githubusercontent.com/u/2324898?v=4)](https://github.com/mibk "mibk (1 commits)")

### Embed Badge

![Health badge](/badges/nextras-link-factory/health.svg)

```
[![Health](https://phpackages.com/badges/nextras-link-factory/health.svg)](https://phpackages.com/packages/nextras-link-factory)
```

###  Alternatives

[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

881.7M6](/packages/nette-code-checker)[contributte/menu-control

Menu control for Nette framework

29108.6k1](/packages/contributte-menu-control)[carrooi/nette-menu

Menu control for Nette framework

2950.0k1](/packages/carrooi-nette-menu)

PHPackages © 2026

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