PHPackages                             lshorz/lavatar - 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. lshorz/lavatar

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

lshorz/lavatar
==============

Create awesome unique avatar for Laravel

1.2(6y ago)5108MITPHPPHP &gt;=7.0

Since Apr 25Pushed 5y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Lavtar
======

[](#lavtar)

Create awesome unique avatar for Laravel5.4

perview
-------

[](#perview)

[![Preview](https://raw.githubusercontent.com/lshorz/md_images/master/hello.png)](https://raw.githubusercontent.com/lshorz/md_images/master/hello.png)

[![Preview](https://raw.githubusercontent.com/lshorz/md_images/master/t.png)](https://raw.githubusercontent.com/lshorz/md_images/master/t.png)

### Installation

[](#installation)

> $ composer require lshorz/lavatar

```
'providers' => [
    ...

    Lshorz\Lavatar\LavatarServiceProvider::class,
],
```

```
'aliases' => [
    ...

    'Lavatar' => Lshorz\Lavatar\Facades\Lavatar::class,

],
```

### Example

[](#example)

Display image

```
Lavatar::displayImage('user');
```

or use helper

```
lavatar_img('Hello');
```

Get the base64 uri

```

```

or

```
Route::get('/test', function(){
   return lavatar_base64('hello');
});
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

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

Every ~449 days

Total

3

Last Release

2455d ago

PHP version history (2 changes)1.0PHP &gt;=5.6

1.1PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fa8b15555911a359726380405a3843084ce208cda8ec21161dd3c137f9dc9ca?d=identicon)[lshorz](/maintainers/lshorz)

---

Top Contributors

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

---

Tags

laravelimageavataridenticon

### Embed Badge

![Health badge](/badges/lshorz-lavatar/health.svg)

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

###  Alternatives

[yzalis/identicon

Generate unique identicon avatars from any string

6091.1M23](/packages/yzalis-identicon)[irazasyed/laravel-identicon

Laravel Identicon Package

2329.6k1](/packages/irazasyed-laravel-identicon)

PHPackages © 2026

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