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

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

mohamedfayez/bitly
==================

Shorten Long Urls Using Bitly Api

16PHP

Since Jul 24Pushed 4y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

bitly Package
=============

[](#bitly-package)

bitly Package used Shorten Long Urls Using Bitly Api

to install run this command
===========================

[](#to-install-run-this-command)

composer require mohamedfayez/bitly

then publish vendor throw this command
======================================

[](#then-publish-vendor-throw-this-command)

php artisan vendor:publish --tag="bitlyConfig"

to use Bitly
============

[](#to-use-bitly)

use Bitly;

Route::get('/', function () {

```
return Bitly::shorten('https://web.facebook.com');

```

});

the static method shorten accept one paramter the url you want to shorten

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

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/6ffdc35dc0c5ad34033410694349f25df3d02b4cb93748702b3d489c564f6cf6?d=identicon)[mohamedfayez455](/maintainers/mohamedfayez455)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[ideea/language-detector

Detect languages by text

334.4k](/packages/ideea-language-detector)

PHPackages © 2026

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