PHPackages                             linkorb/interlink - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. linkorb/interlink

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

linkorb/interlink
=================

Interlink parser

v1.0.0(11y ago)118MITPHP

Since Feb 28Pushed 11y ago3 watchersCompare

[ Source](https://github.com/linkorb/interlink)[ Packagist](https://packagist.org/packages/linkorb/interlink)[ RSS](/packages/linkorb-interlink/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Interlink: Advanced hyperlinking across services
================================================

[](#interlink-advanced-hyperlinking-across-services)

Interlink let's you define custom link handlers for wiki links.

Some example:

Translate `[[wikipedia:Hello world]]` into:

```

    Hello world

```

Translate `[[wikihow:Grow an Orange Tree]]` into:

```

    Grow an Orange Tree

```

Translate `[[mozilla-bugzilla:441207]]` into:

```

    Printing selection causes blank page with header/footer only

```

Translate `[[mytaskdb:14]]` into:

```

    Redesign widgets to optimize alignment with KPI's

```

Using Interlink, you define `Handlers` for link prefixes (Like above: 'wikihow', or 'mytaskdb'). The handler can then automatically translate the link into a working bit of HTML using one of the available `Renderers`.

You can even create your own Renderer if the provided ones are not sufficient.

You can also pass a `LabelResolver` to your handler to translate the code or id into a userfriendly text. For example, look up a task title in the database using PDO, based on the id in the link. Or make a REST API call to a webservice to convert a bugid into a readable summary.

How to use Interlink in your application
----------------------------------------

[](#how-to-use-interlink-in-your-application)

Simply add the following to your `require` or `require-dev` section in your [composer.json](http://getcomposer.org) and run `composer update`:

```
"require": {
  "linkorb/interlink": "~1.0"
}
```

Examples:
---------

[](#examples)

Please refer to the `examples/` directory for some simple and advanced examples.

License
-------

[](#license)

MIT (see [LICENSE.md](LICENSE.md))

Brought to you by the LinkORB Engineering team
----------------------------------------------

[](#brought-to-you-by-the-linkorb-engineering-team)

[![](https://camo.githubusercontent.com/62fb66b034de7ea7fca9fd9776424b5348daa76ef8622caf92c2f7622003e5ef/687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67)](https://camo.githubusercontent.com/62fb66b034de7ea7fca9fd9776424b5348daa76ef8622caf92c2f7622003e5ef/687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67)
Check out our other projects at [linkorb.com/engineering](http://www.linkorb.com/engineering).

Btw, we're hiring!

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

4097d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1db66b320db18b8036ea68211b7d8a39e7c6da97e6fd29f59a50380ebb69d0bb?d=identicon)[joostfaassen](/maintainers/joostfaassen)

---

Top Contributors

[![joostfaassen](https://avatars.githubusercontent.com/u/411113?v=4)](https://github.com/joostfaassen "joostfaassen (2 commits)")

---

Tags

linkparserwikiinterlinkinterwikiintermap

### Embed Badge

![Health badge](/badges/linkorb-interlink/health.svg)

```
[![Health](https://phpackages.com/badges/linkorb-interlink/health.svg)](https://phpackages.com/packages/linkorb-interlink)
```

###  Alternatives

[nikic/php-parser

A PHP parser written in PHP

17.4k902.6M1.8k](/packages/nikic-php-parser)[doctrine/lexer

PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.

11.2k910.8M118](/packages/doctrine-lexer)[erusev/parsedown

Parser for Markdown.

15.0k151.8M732](/packages/erusev-parsedown)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

3.0k404.0M702](/packages/league-commonmark)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)

PHPackages © 2026

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