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

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

fireguard/url-shortener
=======================

Url Shortener.

v0.1.0(8y ago)034MITPHP

Since May 18Pushed 8y ago1 watchersCompare

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

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

URL Shortener
=============

[](#url-shortener)

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

[](#installation)

This Package can be installed through the composer.

In order for the package to be automatically added to your composer.json file, run the following command:

```
  composer require fireguard/url-shortener
```

Or if you prefer, add the following snippet manually:

```
{
  "require": {
    ...
    "fireguard/url-shortener": "^0.1"
  }
}
```

Usage
-----

[](#usage)

Basic instructions for usage.

### Google URL Shortener

[](#google-url-shortener)

Generate Google API Key

>

```
$google = new GoogleUrlShortener('YOUR_GOOGLE_KEY');
$url = $google->shorten('https://google.com.br/');
```

### ToLy URL Shortener

[](#toly-url-shortener)

```
$toLy = new Fireguard\UrlShortener\ToLyUrlShortener();
$url = $toLy->shorten('https://google.com.br/');
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

3277d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eabacf3b5f656a031c5a767994fe7c684822c48619546229dd5659d833591e69?d=identicon)[fireguard](/maintainers/fireguard)

---

Top Contributors

[![meneguite](https://avatars.githubusercontent.com/u/8209481?v=4)](https://github.com/meneguite "meneguite (6 commits)")

---

Tags

shortenerurlurlshortenershorter

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[yourls/yourls

Your Own URL Shortener

11.9k27.7k1](/packages/yourls-yourls)[laracrafts/laravel-url-shortener

Powerful URL shortening tools in Laravel

97110.7k](/packages/laracrafts-laravel-url-shortener)[gallib/laravel-short-url

A Laravel package to shorten urls

16516.4k](/packages/gallib-laravel-short-url)[shivella/laravel-bitly

Laravel package for generating bitly url

75789.0k1](/packages/shivella-laravel-bitly)[rezzza/shorty

Underwear for your long urls

1315.3k1](/packages/rezzza-shorty)

PHPackages © 2026

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