PHPackages                             nimp/link-loom-core - 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. nimp/link-loom-core

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

nimp/link-loom-core
===================

This package is designed to create short links and decode them back

v1.0.1(7mo ago)021MITPHPPHP ^8.3CI passing

Since Sep 29Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/nimp-dev/link-loom-core)[ Packagist](https://packagist.org/packages/nimp/link-loom-core)[ RSS](/packages/nimp-link-loom-core/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (1)

Link Loom Core
==============

[](#link-loom-core)

[![Tests](https://github.com/nimp-dev/link-loom-core/actions/workflows/tests.yml/badge.svg)](https://github.com/nimp-dev/link-loom-core/actions/workflows/tests.yml/badge.svg)[![PHPStan](https://github.com/nimp-dev/link-loom-core/actions/workflows/phpstan.yml/badge.svg)](https://github.com/nimp-dev/link-loom-core/actions/workflows/phpstan.yml/badge.svg)[![Code Coverage](https://camo.githubusercontent.com/0497198ef0cefbaa721ebbf58e2a004d8d54bfc17718dd909a42e479f31840eb/68747470733a2f2f636f6465636f762e696f2f67682f6e696d702d6465762f6c696e6b2d6c6f6f6d2d636f72652f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://camo.githubusercontent.com/0497198ef0cefbaa721ebbf58e2a004d8d54bfc17718dd909a42e479f31840eb/68747470733a2f2f636f6465636f762e696f2f67682f6e696d702d6465762f6c696e6b2d6c6f6f6d2d636f72652f6272616e63682f6d61696e2f67726170682f62616467652e737667)[![PHP Version](https://camo.githubusercontent.com/7535257ca228724c93658bd52583d4e47a9bab02c356abf6e54c1d575f2151e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75652e737667)](https://camo.githubusercontent.com/7535257ca228724c93658bd52583d4e47a9bab02c356abf6e54c1d575f2151e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75652e737667)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)

A library for shortening URLs and decoding shortcodes back into original links. It's based on clearly separated interfaces (repository, validator, code generator) and PSR-14 events.

- Minimal dependencies
- Extensibility through custom interface implementations
- Events during encoding/decoding and errors

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

[](#installation)

```
composer require nimp/observer
```

Quick start
-----------

[](#quick-start)

```
use Nimp\Linkloom\Linkloom;

$shortener = new UrlShortener(
            new Repository(),
            new Validator(),
            new Generator(),
            new EventDispatcher(
                new ListenerProvider()
            ),
        );

$url = 'https://example.org';
$core = $shortener->encode($url);
$urlDecoder = $shortener->decode($core);
```

Tests
-----

[](#tests)

```
composer install && composer test
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance63

Regular maintenance activity

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

230d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/481697526984e04c33b7db73c63e8b5a3f0662b3d3b8855829783811b0e10415?d=identicon)[egorkonopka](/maintainers/egorkonopka)

---

Top Contributors

[![nimp-dev](https://avatars.githubusercontent.com/u/64540575?v=4)](https://github.com/nimp-dev "nimp-dev (8 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nimp-link-loom-core/health.svg)

```
[![Health](https://phpackages.com/badges/nimp-link-loom-core/health.svg)](https://phpackages.com/packages/nimp-link-loom-core)
```

###  Alternatives

[symfony/event-dispatcher-contracts

Generic abstractions related to dispatching event

3.4k756.5M424](/packages/symfony-event-dispatcher-contracts)[league/event

Event package

1.6k141.6M184](/packages/league-event)[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[yohang/finite

A simple PHP Finite State Machine

1.3k3.5M10](/packages/yohang-finite)[mcp/sdk

Model Context Protocol SDK for Client and Server applications in PHP

1.4k423.9k30](/packages/mcp-sdk)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)

PHPackages © 2026

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