PHPackages                             jjaffeux/avatars-io-php - 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. jjaffeux/avatars-io-php

ActiveLibrary[API Development](/categories/api)

jjaffeux/avatars-io-php
=======================

AvatarIo api wrapper

1.0.0(13y ago)445023MITPHPPHP &gt;=5.2

Since Jun 27Pushed 13y ago4 watchersCompare

[ Source](https://github.com/jjaffeux/avatars-io-php)[ Packagist](https://packagist.org/packages/jjaffeux/avatars-io-php)[ Docs](https://github.com/jjaffeux/avatars-io-php)[ RSS](/packages/jjaffeux-avatars-io-php/feed)WikiDiscussions master Synced 2d ago

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

AVATARS IO PHP
==============

[](#avatars-io-php)

THIS IS A VERY EARLY STAGE WRAPPER FOR AVATARS.IO. However, the API will remain stable you can use it and nothing will break in the future.

The current version is only a fast code to learn the avatars.io API, however it works, coming next :

- tests
- injectable httpclient
- more features (better handling of url generation for example)
- refactoring

I have no time to work on this at the moment, ping me or open issue if you need this.

[![Build Status](https://camo.githubusercontent.com/f70947802ca8e6372de9c3c9fbe80cfe81fef81d072cde7e5b2bc421e7a07e09/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6a6a6166666575782f617661746172732d696f2d7068702e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/jjaffeux/avatars-io-php)

Setup
-----

[](#setup)

composer.json :

```
{
    "require": {
        "jjaffeux/avatars-io-php": ">=1.0.0"
    }
}
```

```
$avatar = new \AvatarsIo\Avatar(CLIENT ID, SECRET KEY);
```

General Usage
-------------

[](#general-usage)

```
$avatar->upload('filepath', 'identifier'); //identifier is optionnal
$avatar->url('twitter', 'twitter username', 'size') //size is optionnal, can be small, medium, large
```

Bug tracker
-----------

[](#bug-tracker)

Have a bug? Please create an issue here on GitHub!

Contributions
-------------

[](#contributions)

- Fork
- Write tests (phpunit in the directory to run the tests)
- Write Code
- Pull request

Thanks for your help.

Authors
-------

[](#authors)

**Joffrey Jaffeux**

-
-

License
-------

[](#license)

MIT License

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

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

5069d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

apifacebookinstagramtwitteravatarsavatars io

### Embed Badge

![Health badge](/badges/jjaffeux-avatars-io-php/health.svg)

```
[![Health](https://phpackages.com/badges/jjaffeux-avatars-io-php/health.svg)](https://phpackages.com/packages/jjaffeux-avatars-io-php)
```

###  Alternatives

[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

13998.4k2](/packages/jstolpe-instagram-graph-api-php-sdk)

PHPackages © 2026

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