PHPackages                             flaviozantut/avatars - 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. flaviozantut/avatars

ActiveLibrary[API Development](/categories/api)

flaviozantut/avatars
====================

avatars.io client

v1.0.0(12y ago)293MITPHPPHP &gt;=5.3.0

Since Jul 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/flaviozantut/avatars)[ Packagist](https://packagist.org/packages/flaviozantut/avatars)[ Docs](https://github.com/flaviozantut/avatars)[ RSS](/packages/flaviozantut-avatars/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

avatars
-------

[](#avatars)

Laravel 4 client to [avatars.io](http://avatars.io)

[![Build Status](https://camo.githubusercontent.com/8cc600c50ca558752d59c91fe357e26d6632fddb90ebe5d0781beba6f16ccb6b/68747470733a2f2f7472617669732d63692e6f72672f666c6176696f7a616e7475742f617661746172732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/flaviozantut/avatars)[![Coverage Status](https://camo.githubusercontent.com/1116199a4e7b66ded7ac3a98bcd7fc9a4f253b294dc475b83969ff814c03cbb7/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f666c6176696f7a616e7475742f617661746172732f62616467652e706e67)](https://coveralls.io/r/flaviozantut/avatars)[![Latest Stable Version](https://camo.githubusercontent.com/920216a07a1ee06a3f8f1f3e857c201299f6c4358101c23ce1f7e6dd93334c07/68747470733a2f2f706f7365722e707567782e6f72672f666c6176696f7a616e7475742f617661746172732f762f737461626c652e706e67)](https://packagist.org/packages/flaviozantut/avatars)[![Total Downloads](https://camo.githubusercontent.com/babc9308c7aa0b545a62d8dc5103951bc40fdee806825b26ce9deb80038470e4/68747470733a2f2f706f7365722e707567782e6f72672f666c6176696f7a616e7475742f617661746172732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/flaviozantut/avatars)

Installation
------------

[](#installation)

Installation with php composer

```
 composer require "flaviozantut/avatars:1.0.*"

```

add to app.php 'providers':

```
'Flaviozantut\Avatars\AvatarsServiceProvider',

```

add to app.php 'aliases':

```
'Avatars'    => 'Flaviozantut\Avatars\AvatarsFacade',

```

Register on [avatars.io](http://avatars.io) and after receiving the email with the configuration switches run the commands substituting the keys

```
php artisan avatars:client_id YOURCLIENTID
php artisan avatars:secret_key YOURSECRETKEY
php artisan config:publish flaviozantut/avatars

```

Usage
-----

[](#usage)

```
//get avatar url
$app['avatars']->url('user@mail.com', 'auto');
//upload avatar
$app['avatars']->upload(base64encodefile, userid);
//get by URL
http://yourapp.dev/avatars/userid/service/size
//POST photo to
http://yourapp.dev/avatars/userid

```

DOCS
----

[](#docs)

[Docs](https://github.com/flaviozantut/avatars/tree/master/docs/ApiIndex.md)

MIT License
-----------

[](#mit-license)

[license.txt](/flaviozantut/avatars/blob/master/license.txt)

[![Bitdeli Badge](https://camo.githubusercontent.com/1e3976740175f9ea5b940c74cb1baf536e0100390c3270dac0f2d7745f461427/68747470733a2f2f64327765637a68766c38323376302e636c6f756466726f6e742e6e65742f666c6176696f7a616e7475742f617661746172732f7472656e642e706e67)](https://bitdeli.com/free "Bitdeli Badge")

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.9% 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 ~0 days

Total

2

Last Release

4688d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b31739dd3f3b5bc7fe579f5d2e3b5dbb196bc5d7a32508f2d49e67bd2322a56?d=identicon)[flaviozantut](/maintainers/flaviozantut)

---

Top Contributors

[![flaviozantut](https://avatars.githubusercontent.com/u/460185?v=4)](https://github.com/flaviozantut "flaviozantut (34 commits)")[![rodrigorigotti](https://avatars.githubusercontent.com/u/387664?v=4)](https://github.com/rodrigorigotti "rodrigorigotti (2 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

---

Tags

laravelgravataravataravatars.iolaravel4

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/flaviozantut-avatars/health.svg)

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

###  Alternatives

[laravolt/avatar

Turn name, email, and any other string into initial-based avatar or gravatar.

2.0k5.4M31](/packages/laravolt-avatar)[creativeorange/gravatar

A Laravel Gravatar package for retrieving gravatar image URLs or checking the existance of an image.

5467.5M54](/packages/creativeorange-gravatar)[thujohn/analytics

Google Analytics for Laravel 4

113108.7k1](/packages/thujohn-analytics)[teepluss/api

Laravel 4 Internal Request (HMVC)

7034.0k](/packages/teepluss-api)

PHPackages © 2026

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