PHPackages                             hpez/url-shortener - 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. hpez/url-shortener

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

hpez/url-shortener
==================

A url shortener for laravel

v0.1.8(5y ago)076[1 issues](https://github.com/hpez/url-shortener/issues)Apache-2.0PHP

Since Sep 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hpez/url-shortener)[ Packagist](https://packagist.org/packages/hpez/url-shortener)[ RSS](/packages/hpez-url-shortener/feed)WikiDiscussions master Synced today

READMEChangelog (8)DependenciesVersions (10)Used By (0)

Url Shortener [![Total Downloads](https://camo.githubusercontent.com/83d9b59a13a7504b3dbc83b11c7246ac050e2e57096be8eacf06b0fc89f4a5e0/68747470733a2f2f706f7365722e707567782e6f72672f6870657a2f75726c2d73686f7274656e65722f646f776e6c6f616473)](//packagist.org/packages/hpez/url-shortener)
===========================================================================================================================================================================================================================================================================================

[](#url-shortener-)

A simple url shortener package for laravel

Install using:

```
composer require hpez/url-shortener
```

Then add the Alias in `config/app.php`:

```
        'UrlShortener' => \Hpez\UrlShortener\Facades\UrlShortener::class,
```

And the service provider if not added automatically:

```
        Hpez\UrlShortener\UrlShortenerServiceProvider::class
```

And then run the migrations:

```
php artisan migrate
```

Usage:

```
    $shortenedUrl = UrlShortener::shorten('/test'); // returns '/u/70aa139e2c' e.g.
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

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

Total

9

Last Release

2109d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23010096?v=4)[Hassan Pezeshk](/maintainers/hpez)[@hpez](https://github.com/hpez)

---

Top Contributors

[![hpez](https://avatars.githubusercontent.com/u/23010096?v=4)](https://github.com/hpez "hpez (18 commits)")

---

Tags

laravelurl-shortener

### Embed Badge

![Health badge](/badges/hpez-url-shortener/health.svg)

```
[![Health](https://phpackages.com/badges/hpez-url-shortener/health.svg)](https://phpackages.com/packages/hpez-url-shortener)
```

###  Alternatives

[components/mathjs

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types like numbers, big numbers, complex numbers, fractions, units, and matrices.

15.0k4.0k](/packages/components-mathjs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[sop/crypto-encoding

A PHP implementation of textual encodings of cryptographic structures.

171.5M28](/packages/sop-crypto-encoding)[marshmallow/nova-tiptap

A Laravel Nova tiptap editor field.

19183.4k3](/packages/marshmallow-nova-tiptap)[moritzebeling/kirby-favicon

Kirby plugin to meet all favicon needs

145.1k](/packages/moritzebeling-kirby-favicon)

PHPackages © 2026

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