PHPackages                             aaronwlh/avatar - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. aaronwlh/avatar

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aaronwlh/avatar
===============

laravel avatar

0.0.1(6y ago)013MITPHP

Since Apr 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Aaron-wlh/laravel-avatar)[ Packagist](https://packagist.org/packages/aaronwlh/avatar)[ RSS](/packages/aaronwlh-avatar/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

laravel-avatar
==============

[](#laravel-avatar)

根据第一个字符或者汉字生成头像的laravel扩展包

基本使用
----

[](#基本使用)

1. 先发布配置文件在config目录下面

```
php artisan vendor:publish
```

2. app.php 添加 providers

```
Cxp\Avatar\AvatarProvider::class,
```

3. app.php 添加 aliases

```
'Avatar' => Cxp\Avatar\Facades\Avatar::class
```

4 开始使用

```
// 第一个参数姓名，第二个参数图片生成位置
Avatar::output('赵','zhao.png')
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

2218d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7495c9f51f437544378dc73537377acb6ba9348d3c51e4175c4e03b64ad32247?d=identicon)[Aaron-wlh](/maintainers/Aaron-wlh)

---

Top Contributors

[![Aaron-wlh](https://avatars.githubusercontent.com/u/20063391?v=4)](https://github.com/Aaron-wlh "Aaron-wlh (4 commits)")

### Embed Badge

![Health badge](/badges/aaronwlh-avatar/health.svg)

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

PHPackages © 2026

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