PHPackages                             pnomolos/phitly - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. pnomolos/phitly

ActiveLibrary[HTTP &amp; Networking](/categories/http)

pnomolos/phitly
===============

Bit.ly v3 API wrapper

0.1.0(13y ago)6598BSDPHPPHP &gt;=5.3.2

Since Jun 6Pushed 12y ago1 watchersCompare

[ Source](https://github.com/pnomolos/Phitly)[ Packagist](https://packagist.org/packages/pnomolos/phitly)[ Docs](https://github.com/pnomolos/Phitly)[ RSS](/packages/pnomolos-phitly/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Phitly
------

[](#phitly)

A PHP library for connecting to the bit.ly v3 API. At the moment only tests for shortening URLs have been written as that's all that I need to do, should someone else want to help out that'd be great!

\##Usage

```
$client = new \Phitly\Client($login, $apiKey);
// Returns a \Phitly\Url object
$url = $client->shorten('http://google.com');
$urls = $client->shorten(array('http://cnn.com', 'http://google.com'));
```

### Acknowledgements

[](#acknowledgements)

[Phil Nash's ruby bitly library](https://github.com/philnash/bitly) - on which a significant portion of this library was based.

### Notes

[](#notes)

As this library is still under development significant changes may still happen. Specifically, bitly is deprecating the usage of the apiKey parameter so the `\Phitly\Client` constructor is likely to change to support OAuth2 integration.

Copyright
---------

[](#copyright)

Copyright © 2013 [Philip Schalm](http://twitter.com/pnomolos)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4772d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36223?v=4)[Phil Schalm](/maintainers/pnomolos)[@pnomolos](https://github.com/pnomolos)

---

Top Contributors

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

---

Tags

httpapibitlywrapperphitly

### Embed Badge

![Health badge](/badges/pnomolos-phitly/health.svg)

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

###  Alternatives

[nategood/httpful

A Readable, Chainable, REST friendly, PHP HTTP Client

1.8k17.5M274](/packages/nategood-httpful)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.6M18](/packages/xeroapi-xero-php-oauth2)[quickbooks/payments-sdk

The Official PHP SDK for QuickBooks Online Payments API

2758.9k2](/packages/quickbooks-payments-sdk)[jsor/hal-client

A lightweight client for consuming and manipulating Hypertext Application Language (HAL) resources.

2226.0k1](/packages/jsor-hal-client)

PHPackages © 2026

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