PHPackages                             mikica/shorturl - 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. mikica/shorturl

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

mikica/shorturl
===============

Turns a long URL into a much shorter one.

1.01(10y ago)015MITPHPPHP &gt;=5.5.0

Since Sep 29Pushed 10y ago1 watchersCompare

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

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

shorturl
========

[](#shorturl)

PHP Package - Turns a long URL into a much shorter one.

\###Usage

```
use ShortUrl\UrlService;
UrlService::create('http://www.example.com');
```

Installing ShortUrl
-------------------

[](#installing-shorturl)

The recommended way to install ShortUrl is through [Composer](http://getcomposer.org).

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of ShortUrl:

```
composer.phar require mikica/shorturl
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

You can then later update ShortUrl using composer:

```
composer.phar update
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

3846d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2887620?v=4)[Mikica Ivosevic](/maintainers/mikicaivosevic)[@mikicaivosevic](https://github.com/mikicaivosevic)

---

Top Contributors

[![mikicaivosevic](https://avatars.githubusercontent.com/u/2887620?v=4)](https://github.com/mikicaivosevic "mikicaivosevic (10 commits)")

### Embed Badge

![Health badge](/badges/mikica-shorturl/health.svg)

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

###  Alternatives

[amplifier/yii-amqp

AMQP adapter for Yii

2237.0k](/packages/amplifier-yii-amqp)

PHPackages © 2026

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