PHPackages                             ndrd/lumen-bitly - 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. ndrd/lumen-bitly

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

ndrd/lumen-bitly
================

Laravel package for generating bitly url

1.1.10(6y ago)037MITPHPPHP &gt;=7.1

Since Dec 19Pushed 6y agoCompare

[ Source](https://github.com/ndrd/lumen-bitly)[ Packagist](https://packagist.org/packages/ndrd/lumen-bitly)[ Docs](https://github.com/ndrd/lumen-bitly)[ RSS](/packages/ndrd-lumen-bitly/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (4)Versions (17)Used By (0)

Laravel Bitly Package
=====================

[](#laravel-bitly-package)

A laravel package for generating Bitly urls

For more information see [Bitly](https://bitly.com/)

[![Build Status](https://camo.githubusercontent.com/52255fe50149709b389058f4cd418508ca7d65ed270d387ed351bc517073ef72/68747470733a2f2f7472617669732d63692e6f72672f53686976656c6c612f6c61726176656c2d6269746c792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Shivella/laravel-bitly) [![Latest Stable Version](https://camo.githubusercontent.com/f0183e9895529bc82669439b9feed2bc308ecc4140870da5a9e88fe6507dc334/68747470733a2f2f706f7365722e707567782e6f72672f73686976656c6c612f6c61726176656c2d6269746c792f762f737461626c65)](https://packagist.org/packages/shivella/laravel-bitly) [![License](https://camo.githubusercontent.com/e0cc47e1d0e7f253036914081dbfe0bbbe4ae0a6a7bf1037c4d198d478bf5e89/68747470733a2f2f706f7365722e707567782e6f72672f73686976656c6c612f6c61726176656c2d6269746c792f6c6963656e7365)](https://packagist.org/packages/shivella/laravel-bitly) [![Total Downloads](https://camo.githubusercontent.com/631ce0fbfe22e43bb82596da926fc45d6ef1663f043ec9427605a088b076ddb6/68747470733a2f2f706f7365722e707567782e6f72672f73686976656c6c612f6c61726176656c2d6269746c792f646f776e6c6f616473)](https://packagist.org/packages/shivella/laravel-bitly) [![Coverage Status](https://camo.githubusercontent.com/9b07fcb649a4653bc8330a3ca9db026a6c6e11ccfff90acf11b2a346bb3b1215/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f53686976656c6c612f6c61726176656c2d6269746c792f62616467652e737667)](https://coveralls.io/github/Shivella/laravel-bitly)

Requirements
------------

[](#requirements)

Laravel 5.1 or later

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

[](#installation)

Installation is a quick 3 step process:

1. Download laravel-bitly using composer
2. Enable the package in app.php
3. Configure your Bitly credentials
4. (Optional) Configure the package facade

### Step 1: Download laravel-bitly using composer

[](#step-1-download-laravel-bitly-using-composer)

Add shivella/laravel-bitly by running the command:

```
composer require shivella/laravel-bitly

```

### Step 2: Enable the package in app.php

[](#step-2-enable-the-package-in-appphp)

Register the Service in: **config/app.php**

```
Shivella\Bitly\BitlyServiceProvider::class,
```

### Step 3: Configure Bitly credentials

[](#step-3-configure-bitly-credentials)

```
php artisan vendor:publish --provider="Shivella\Bitly\BitlyServiceProvider"

```

Add this in you **.env** file

```
BITLY_ACCESS_TOKEN=your_secret_bitly_access_token

```

### Step 4 (Optional): Configure the package facade

[](#step-4-optional-configure-the-package-facade)

Register the Bitly Facade in: **config/app.php**

```
'aliases' => [

        'App' => Illuminate\Support\Facades\App::class,
        'Artisan' => Illuminate\Support\Facades\Artisan::class,
        'Auth' => Illuminate\Support\Facades\Auth::class,
        ...
        'Bitly' => Shivella\Bitly\Facade\Bitly::class,
```

Usage
-----

[](#usage)

```
$url = app('bitly')->getUrl('https://www.google.com/'); // http://bit.ly/nHcn3
```

Or if you want to use facade, add this in your class after namespace declaration:

```
use Bitly;
```

Then you can use it directly by calling `Bitly::` like:

```
$url = Bitly::getUrl('https://www.google.com/'); // http://bit.ly/nHcn3
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 72.2% 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 ~69 days

Recently: every ~10 days

Total

16

Last Release

2391d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.5.9

1.1.0PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8826286?v=4)[Jonathan Andrade](/maintainers/ndrd)[@ndrd](https://github.com/ndrd)

---

Top Contributors

[![Shivella](https://avatars.githubusercontent.com/u/1641684?v=4)](https://github.com/Shivella "Shivella (26 commits)")[![ndrd](https://avatars.githubusercontent.com/u/8826286?v=4)](https://github.com/ndrd "ndrd (5 commits)")[![taruncx101](https://avatars.githubusercontent.com/u/32189235?v=4)](https://github.com/taruncx101 "taruncx101 (1 commits)")[![trevorgehman](https://avatars.githubusercontent.com/u/3209864?v=4)](https://github.com/trevorgehman "trevorgehman (1 commits)")[![viniciusls](https://avatars.githubusercontent.com/u/7141680?v=4)](https://github.com/viniciusls "viniciusls (1 commits)")[![sweebee](https://avatars.githubusercontent.com/u/10496485?v=4)](https://github.com/sweebee "sweebee (1 commits)")[![adrianenriquez](https://avatars.githubusercontent.com/u/7329321?v=4)](https://github.com/adrianenriquez "adrianenriquez (1 commits)")

---

Tags

laravelpackagebitly

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ndrd-lumen-bitly/health.svg)

```
[![Health](https://phpackages.com/badges/ndrd-lumen-bitly/health.svg)](https://phpackages.com/packages/ndrd-lumen-bitly)
```

###  Alternatives

[shivella/laravel-bitly

Laravel package for generating bitly url

75789.0k1](/packages/shivella-laravel-bitly)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[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)[adrianorosa/laravel-geolocation

Laravel Geo Location package to get details for a given IP Address

6593.3k1](/packages/adrianorosa-laravel-geolocation)

PHPackages © 2026

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