PHPackages                             darshphpdev/bitly-shortner - 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. darshphpdev/bitly-shortner

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

darshphpdev/bitly-shortner
==========================

Shorten Long Urls Using Bitly Api

11PHP

Since Jul 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/DarshPhpDev/bitly-shortner)[ Packagist](https://packagist.org/packages/darshphpdev/bitly-shortner)[ RSS](/packages/darshphpdev-bitly-shortner/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

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

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

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

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

[](#installation)

Install the package through [Composer](http://getcomposer.org/).

`composer require darshphpdev/bitly-shortner`

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

[](#configuration)

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

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

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 Bitly;

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

Credits
-------

[](#credits)

- [MUSTAFA AHMED](https://github.com/DarshPhpDev)

License
-------

[](#license)

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

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5dc427456706f88e785b5ded5d2e9673e9bc7fa8a742b5949a62db0272de5181?d=identicon)[DarshPhpDev](/maintainers/DarshPhpDev)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/darshphpdev-bitly-shortner/health.svg)

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

###  Alternatives

[touhonoob/rate-limit

PHP rate limiting library with Token Bucket Algorithm

137520.0k2](/packages/touhonoob-rate-limit)[simplesquid/nova-enum-field

A Laravel Nova field to add enums to resources.

52391.9k2](/packages/simplesquid-nova-enum-field)[ballen/distical

A distance (Lat/Long) calculation library for PHP

40180.2k2](/packages/ballen-distical)

PHPackages © 2026

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