PHPackages                             mp-php/fuel-packages-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. mp-php/fuel-packages-bitly

ActiveFuel-package[Utility &amp; Helpers](/categories/utility)

mp-php/fuel-packages-bitly
==========================

017PHP

Since May 4Pushed 13y ago1 watchersCompare

[ Source](https://github.com/mamor/fuel-packages-bitly)[ Packagist](https://packagist.org/packages/mp-php/fuel-packages-bitly)[ RSS](/packages/mp-php-fuel-packages-bitly/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

FuelPHP Package for bitly
=========================

[](#fuelphp-package-for-bitly)

---

Install
-------

[](#install)

### Setup to fuel/packages/bitly

[](#setup-to-fuelpackagesbitly)

- Use composer
- git submodule add
- Download zip

Usage
-----

[](#usage)

### 1: Configuration

[](#1-configuration)

1. Get login &amp; apikey [http://bitly.com/a/your\_api\_key](http://bitly.com/a/your_api_key)
2. Copy packages/bitly/config/bitly.php to under app/config directory.
3. Edit bitly.php that copied.

### 2: Enable bitly package.

[](#2-enable-bitly-package)

##### In app/config/config.php

[](#in-appconfigconfigphp)

```
'always_load' => array('packages' => array(
	'bitly',
	...

```

or

##### In your code

[](#in-your-code)

```
Package::load('bitly');

```

Supported API
-------------

[](#supported-api)

### /v3/expand

[](#v3expand)

```
Bitly::expand('http://bit.ly/MiCtW6'); // 'http://google.com/'

```

### /v3/shorten

[](#v3shorten)

```
Bitly::shorten('http://google.com/') // 'http://bit.ly/MiCtW6'

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1270064?v=4)[madworks](/maintainers/mamor)[@mamor](https://github.com/mamor)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mp-php-fuel-packages-bitly/health.svg)

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

PHPackages © 2026

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