PHPackages                             jleagle/bitly-api-client - 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. [API Development](/categories/api)
4. /
5. jleagle/bitly-api-client

ActiveLibrary[API Development](/categories/api)

jleagle/bitly-api-client
========================

Bitly API client.

1.0.0(10y ago)11.7kPHPPHP &gt;=5.4

Since Sep 3Pushed 10y agoCompare

[ Source](https://github.com/Jleagle/bitly-api-client)[ Packagist](https://packagist.org/packages/jleagle/bitly-api-client)[ RSS](/packages/jleagle-bitly-api-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

bitly-api-client
================

[](#bitly-api-client)

#### To use the class, you need to use one of three static methods.

[](#to-use-the-class-you-need-to-use-one-of-three-static-methods)

If you have a bitly account username and password:

```
$bitly = Bitly::usernamePassword($username, $password);
```

If you have an access token (you can get one from [https://bitly.com/a/oauth\_apps](https://bitly.com/a/oauth_apps)):

```
$bitly = Bitly::accessToken($accessToken);
```

If you want to log the user in using OAuth:

```
$bitly = Bitly::authorize($clientId, $clientSecret, $projectUrl, $state);
```

#### From there you have access to each endpoint:

[](#from-there-you-have-access-to-each-endpoint)

Return the click rate for content containing 'obama':

```
$realtimeClickrates = $bitly->shorten('https://github.com/Jleagle/bitly-api-client');
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~42 days

Total

3

Last Release

3821d ago

Major Versions

0.0.2 → 1.0.02015-11-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/cd99212f53bfaee15e1c86440dacfc96d4f3d61a5a0101f3a48c1e87c51bee51?d=identicon)[Jleagle](/maintainers/Jleagle)

---

Top Contributors

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

---

Tags

apiclientbitly

### Embed Badge

![Health badge](/badges/jleagle-bitly-api-client/health.svg)

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

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1243.1k1](/packages/skeeks-yii2-google-api)

PHPackages © 2026

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