PHPackages                             khaled-sadek/blade-boring-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. [Templating &amp; Views](/categories/templating)
4. /
5. khaled-sadek/blade-boring-avatars

ActiveLibrary[Templating &amp; Views](/categories/templating)

khaled-sadek/blade-boring-avatars
=================================

Blade components to auto generate boring avatars based on name

2.0.0(9mo ago)102212[1 PRs](https://github.com/khaled-sadek/blade-boring-avatars/pulls)MITPHPPHP ^8.2CI failing

Since May 11Pushed 3w ago1 watchersCompare

[ Source](https://github.com/khaled-sadek/blade-boring-avatars)[ Packagist](https://packagist.org/packages/khaled-sadek/blade-boring-avatars)[ RSS](/packages/khaled-sadek-blade-boring-avatars/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (6)Versions (3)Used By (0)

blade-boring-avatars
====================

[](#blade-boring-avatars)

[![tests](https://github.com/khaled-sadek/blade-boring-avatars/actions/workflows/tests.yml/badge.svg)](https://github.com/khaled-sadek/blade-boring-avatars/actions/workflows/tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/fd4addea0322e1e63482e2b149fe10334695856c87f0ae8ea2fff7ab7373c8ed/68747470733a2f2f706f7365722e707567782e6f72672f6b68616c65642d736164656b2f626c6164652d626f72696e672d617661746172732f76)](//packagist.org/packages/khaled-sadek/blade-boring-avatars)[![Total Downloads](https://camo.githubusercontent.com/1c620a0c84d1fe7710976ab75e411680be0f81c86bb968e3415fe0d175cbbcd7/68747470733a2f2f706f7365722e707567782e6f72672f6b68616c65642d736164656b2f626c6164652d626f72696e672d617661746172732f646f776e6c6f616473)](//packagist.org/packages/khaled-sadek/blade-boring-avatars)[![License](https://camo.githubusercontent.com/703228390c19e59fc72588b9f5d9c122d8dd4bf65ee2f9955f05a0a582d5bc62/68747470733a2f2f706f7365722e707567782e6f72672f6b68616c65642d736164656b2f626c6164652d626f72696e672d617661746172732f6c6963656e7365)](//packagist.org/packages/khaled-sadek/blade-boring-avatars)

A Blade version of [Boring Avatars](https://github.com/boringdesigners/boring-avatars). Built using Laravel Blade.

Based on Boring Avatar's description,

> Boring Avatars a tiny JavaScript React library that generates custom, SVG-based, round avatars from any username and color palette.

This package provides a Blade component you can use directly in your Laravel projects.

Features
--------

[](#features)

- Similar API with the React version of [Boring Avatars](https://github.com/boringdesigners/boring-avatars).

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

[](#installation)

```
composer require khaled-sadek/blade-boring-avatars
```

Compatibility
-------------

[](#compatibility)

- **PHP**: 8.2 or higher
- **Laravel**: 10.x, 11.x, 12.x

> **Note for Laravel 9.x and below users**: If you're using Laravel 9.x or below, please use version 1.x of this package which supports PHP 8.1 and Laravel 7-9.

Publishing to Packagist
-----------------------

[](#publishing-to-packagist)

This package is set up to automatically publish to Packagist when a new Git tag is pushed. To enable this:

1. Go to your Packagist account and get an API token from [your tokens page](https://packagist.org/profile/).
2. In your GitHub repository, go to Settings &gt; Secrets and variables &gt; Actions
3. Add the following repository secrets:
    - `PACKAGIST_TOKEN`: Your Packagist API token
    - `PACKAGIST_USERNAME`: Your Packagist username

After setting up these secrets, pushing a new tag prefixed with `v` (for example, `v2.0.0`) will automatically trigger a new release on Packagist.

This package auto-discovers its service provider, so no manual registration is required.

Props
-----

[](#props)

Props:

- `size`: number
    - Default: `40`
- `name`: string
    - Default: `"Clara Barton"`
- `colors`: array\[\]
    - Accepts a php array of colors.
    - Default: `["#92A1C6", "#146A7C", "#F0AB3D", "#C271B4", "#C20D90"]`

Usage
-----

[](#usage)

Basic usage (with default props):

```

```

With props:

```

```

Backward compatibility: the PascalCase tag `` remains available.

Credits
-------

[](#credits)

Credits to [@hihayk](https://twitter.com/hihayk) ([GitHub](https://github.com/hihayk)) and [@josep\_martins](https://twitter.com/josep_martins) ([GitHub](https://github.com/josepmartins)) for creating the original [Boring Avatars](https://github.com/boringdesigners/boring-avatars) library at [boringdesigners](https://github.com/boringdesigners)!

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance79

Regular maintenance activity

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~867 days

Total

2

Last Release

281d ago

Major Versions

1.0.0 → 2.0.02025-09-24

PHP version history (2 changes)1.0.0PHP ^8.1

2.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/65240054?v=4)[khaled sadek](/maintainers/khaled-sadek)[@khaled-sadek](https://github.com/khaled-sadek)

---

Top Contributors

[![khaled-sadek](https://avatars.githubusercontent.com/u/65240054?v=4)](https://github.com/khaled-sadek "khaled-sadek (36 commits)")[![coderabbitai[bot]](https://avatars.githubusercontent.com/in/347564?v=4)](https://github.com/coderabbitai[bot] "coderabbitai[bot] (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

laraveluiblade

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/khaled-sadek-blade-boring-avatars/health.svg)

```
[![Health](https://phpackages.com/badges/khaled-sadek-blade-boring-avatars/health.svg)](https://phpackages.com/packages/khaled-sadek-blade-boring-avatars)
```

###  Alternatives

[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k570.6k22](/packages/robsontenorio-mary)[moonshine/moonshine

Laravel administration panel

1.3k253.1k79](/packages/moonshine-moonshine)[hasinhayder/tyro-login

Tyro Login - Beautiful, customizable authentication views for Laravel 12 &amp; 13

2464.9k6](/packages/hasinhayder-tyro-login)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5443.8k](/packages/hasinhayder-tyro-dashboard)[technikermathe/blade-lucide-icons

A package to easily make use of Lucide icons in your Laravel Blade views.

18421.4k11](/packages/technikermathe-blade-lucide-icons)[ublabs/blade-simple-icons

A package to easily make use of Simple Icons in your Laravel Blade views.

1963.4k](/packages/ublabs-blade-simple-icons)

PHPackages © 2026

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