PHPackages                             sampic/laravel-adorableavatars - 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. [Image &amp; Media](/categories/media)
4. /
5. sampic/laravel-adorableavatars

AbandonedArchivedLibrary[Image &amp; Media](/categories/media)

sampic/laravel-adorableavatars
==============================

Laravel extension allowing you to generate an avatar based on the site http://avatars.adorable.io/

1.0.0(7y ago)03MITPHP

Since Apr 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/SampicBE/laravel-adorable-avatars)[ Packagist](https://packagist.org/packages/sampic/laravel-adorableavatars)[ Docs](https://github.com/SampicBE/laravel-adorable-avatars)[ RSS](/packages/sampic-laravel-adorableavatars/feed)WikiDiscussions master Synced 2w ago

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

[![Build Status](https://camo.githubusercontent.com/1e9df88eaa56db229d170961dcfe5c844f5c3629ac8c29c8c7ea7ba1852134a3/68747470733a2f2f7472617669732d63692e6f72672f53616d70696342452f6c61726176656c2d61646f7261626c652d617661746172732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SampicBE/laravel-adorable-avatars)[![Latest Stable Version](https://camo.githubusercontent.com/5ae077cca633acbdf46308146028632d29d72b1b441f7ddd2eeed757d872e8f5/68747470733a2f2f706f7365722e707567782e6f72672f73616d7069632f6c61726176656c2d61646f7261626c65617661746172732f762f737461626c65)](https://packagist.org/packages/sampic/laravel-adorableavatars)[![Total Downloads](https://camo.githubusercontent.com/e8f9be4a043f5c50c465886d059e70b35fc608e45f1911a88e1d43ae9a937445/68747470733a2f2f706f7365722e707567782e6f72672f73616d7069632f6c61726176656c2d61646f7261626c65617661746172732f646f776e6c6f616473)](https://packagist.org/packages/sampic/laravel-adorableavatars)

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

[](#installation)

Update your `composer.json` file to include this package as a dependency

```
"sampic/laravel-adorableavatars": "~1.0"
```

> This package supports the [package discovery](https://laravel.com/docs/5.5/packages#package-discovery) functionality provided in Laravel 5.5, so registering the classes as described below is no longer necessary if you use Laravel 5.5.

Register the Adorable Avatars service provider by adding it to the providers array in the `config/app.php` file.

```
Sampic\LaravelAdorableAvatars\LaravelAdorableAvatarsServiceProvider::class
```

Alias the Adorable Avatars facade by adding it to the aliases array in the `config/app.php` file.

```
'aliases' => [
     'AdorableAvatars' => Sampic\LaravelAdorableAvatars\Facades\AdorableAvatars::class
]
```

### Configuration (optionnal !)

[](#configuration-optionnal-)

Update the config file to specify this size by default.

```
php artisan vendor:publish --provider="Sampic\LaravelAdorableAvatars\LaravelAdorableAvatarsServiceProvider"

```

### Default configuration :

[](#default-configuration-)

- (boolean) `hash_string` (*default: true*): Hide the content that allows you to generate your avatar
- (boolean) `secure_url` (*default: true*): allows to use the API in https
- (integer) `size`: (*default: 80*) the default size of the generated avatar

Usage
-----

[](#usage)

### AdorableAvatars::src(string string, int $size = null)

[](#adorableavatarssrcstring-string-int-size--null)

Returns the URL of the image that has been generated thanks to the character string Can optionally pass in the size required as an integer. The size will be contained within a range between 1 - 512 as avatar will no return sizes greater than 512 of less than 1

```

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

2621d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/82be191b23bada4c2881ba4c9f4244921fe900c92c3830ec1b5759e56aa358ac?d=identicon)[SampicBE](/maintainers/SampicBE)

---

Top Contributors

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

---

Tags

adorablesavataravatar-generatoravatarslaravellaravel-5-packagephplaravellaravel5adorable avatars

### Embed Badge

![Health badge](/badges/sampic-laravel-adorableavatars/health.svg)

```
[![Health](https://phpackages.com/badges/sampic-laravel-adorableavatars/health.svg)](https://phpackages.com/packages/sampic-laravel-adorableavatars)
```

###  Alternatives

[laravel/octane

Supercharge your Laravel application's performance.

4.0k26.6M214](/packages/laravel-octane)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M948](/packages/statamic-cms)[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11223.5M33](/packages/anourvalar-eloquent-serialize)[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[buglinjo/laravel-webp

Laravel package for WebP image formatting.

182253.8k2](/packages/buglinjo-laravel-webp)[mostafaznv/nova-ckeditor

CkEditor for Laravel Nova

58376.5k1](/packages/mostafaznv-nova-ckeditor)

PHPackages © 2026

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