PHPackages                             thesmart/php-topsy - 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. thesmart/php-topsy

ActiveLibrary[API Development](/categories/api)

thesmart/php-topsy
==================

A php rest client for Topsy's Otter API with support for rate limiting and error handling

v0.1.0(13y ago)281MITPHPPHP &gt;=5.2.0

Since Aug 24Pushed 13y ago1 watchersCompare

[ Source](https://github.com/thesmart/php-topsy)[ Packagist](https://packagist.org/packages/thesmart/php-topsy)[ Docs](https://github.com/thesmart/php-topsy)[ RSS](/packages/thesmart-php-topsy/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

php-topsy
=========

[](#php-topsy)

A php rest client for Topsy's Otter API with support for rate limiting and error handling.

Brought to you by the fine developers @ [Telly.com](http://telly.com/)

Usage
-----

[](#usage)

Usage is very simple, similar to Facebook's SDK:

```
$topsy = new TopsyApi('my api key', 'example.com');
try {
	$result = $topsy->api('authorinfo', array('url' => 'http://twitter.com/thesmart'));
} catch (TopsyApiException $tae) {
	error_log('Topsy error message: ' . $tae->getMessage());
	error_log('Topsy status code: ' . $tae->getCode());
}
```

The contents of `$result` is this:

```
array (
	'name' => 'John Smart',
	'nick' => 'thesmart',
	'description' => 'Chief Architect and CoFounder of Zoosk.com. Geeky and profound, enjoying the ride.',
	'influence_level' => 0,
	'url' => 'http://twitter.com/thesmart',
	'image_url' => 'http://a0.twimg.com/profile_images/1508630405/Screen_shot_2011-02-23_at_3.10.25_PM.png_normal.jpg',
	'type' => 'twitter',
	'topsy_author_url' => 'http://topsy.com/twitter/thesmart',
);
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

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

5058d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11f682ea6d98e41ccb56db0a284ac5b085fd31d40c3119cf8c3e493f87498c0a?d=identicon)[thesmart](/maintainers/thesmart)

---

Top Contributors

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

---

Tags

topsyotter

### Embed Badge

![Health badge](/badges/thesmart-php-topsy/health.svg)

```
[![Health](https://phpackages.com/badges/thesmart-php-topsy/health.svg)](https://phpackages.com/packages/thesmart-php-topsy)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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