PHPackages                             kerodev/short-link - 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. kerodev/short-link

ActiveLibrary

kerodev/short-link
==================

Short link by Bitly

v1(3y ago)00MITPHP

Since Sep 24Pushed 3y ago1 watchersCompare

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

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

Laravel Shortner Link Package
=============================

[](#laravel--shortner-link--package)

Shorten Long Urls Using Bitly Api.
----------------------------------

[](#shorten-long-urls-using-bitly-api)

INSTALLATION
------------

[](#installation)

Install the package through [Composer](https://packagist.org/packages/kerodev/short-link).

`composer require kerodev/short-link`

CONFIGURATION
-------------

[](#configuration)

Required configuration file (.env) file

```
// add token inside env.php

SHORTEN_TOKEN=""
SHORTEN_URL="https://api-ssl.bitly.com/v4/shorten"
```

Optional configuration file (useful if you plan to have full control)

```
php artisan vendor:publish --tag="shortconfig"
```

HOW TO USE
----------

[](#how-to-use)

- [Quick Usage](#quick)
- [Credits](#credits)
- [License](#license)

Quick Usage
-----------

[](#quick-usage)

```
// In your controller
// Use The Helper class Bitly to shorten urls
use Shorter;

return Shorter::shorten('https://www.youtube.com');

// get link only
$short = Shorter::shorten('https://www.youtube.com');
return $short->link;
```

Credits
-------

[](#credits)

- [Keroles Atef](https://github.com/keroles19)

License
-------

[](#license)

The Http Client Package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

1331d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/418dc8e95df2fd110d5c31d523ad2be26de0a4cb34827b3ae2379ebf2701633b?d=identicon)[kerodev](/maintainers/kerodev)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/kerodev-short-link/health.svg)

```
[![Health](https://phpackages.com/badges/kerodev-short-link/health.svg)](https://phpackages.com/packages/kerodev-short-link)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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