PHPackages                             luckyboy1001/avatarate - 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. luckyboy1001/avatarate

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

luckyboy1001/avatarate
======================

Package built for create avatars from text(username, ...)

1.0.0(4y ago)551PHPPHP &gt;=7.4

Since Oct 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/luckyboy1001/avatarate)[ Packagist](https://packagist.org/packages/luckyboy1001/avatarate)[ Docs](https://github.com/luckyboy1001)[ RSS](/packages/luckyboy1001-avatarate/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Make Profile Image From Name
============================

[](#make-profile-image-from-name)

Demo Of Name Like This Mana Lovez : [![demo](https://camo.githubusercontent.com/e6277321c8fc6ee4924b204558106a0623971f75e567cd85127c2e85cd8db2fa/68747470733a2f2f7332302e7069636f66696c652e636f6d2f66696c652f383434323335393033342f6176617461726174655f313633343430333836322e706e67)](https://camo.githubusercontent.com/e6277321c8fc6ee4924b204558106a0623971f75e567cd85127c2e85cd8db2fa/68747470733a2f2f7332302e7069636f66696c652e636f6d2f66696c652f383434323335393033342f6176617461726174655f313633343430333836322e706e67)

With this package you can easily generate profile photos in different formats (for now just png)

installation
------------

[](#installation)

```
composer require luckyboy1001/avatarate
```

config the package
------------------

[](#config-the-package)

just create the directory and give the path on config file of package (avatarate)

**Notice: PHP 7.4 is needed**

### publish config

[](#publish-config)

```
php artisan vendor:publish --provider=Avatarate\AvatarateServiceProvider
```

avatarate.php will be published to your config directory

##### - more options will be added

[](#--more-options-will-be-added)

notice
------

[](#notice)

after config the avatarate config file you must give it a save\_directory that should be

- created before
- writeable

---

### example

[](#example)

```
    $name = "Mohammad Mohammadi";

    $background_color = 'random';

    $text_color = [220, 120, 12, 1]; // rgb or rgba or random

    $shape = "circle"; // rectangle, circle

    $size = 240;

    $image = new \Avatarate\Services\AvatarBuilder(
        $name,
        $background_color,
        $text_color,
        $shape,
        $size
    );

    $result = $image->generate();

```

---

result :

```
{
    status: "success",
    file_name: "avatarate-1634383742",
    path: "path-to-laravel-project/public/avatarate/avatarate-1634383742.png"
}
```

and then image is saved in the directory you have given to config file of the package

---

#### Notice

[](#notice-1)

this package developed based on an open source laravel project I decided to improve it and add new features

### - to do

[](#--to-do)

- unit tests
- new features

please give me a star if you like it

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

1721d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c4059c5b7fe68214a95572a5f0d1ff2c52b525816e4670081149cee92133337f?d=identicon)[luckyboy1001](/maintainers/luckyboy1001)

---

Top Contributors

[![m-mohammadi1](https://avatars.githubusercontent.com/u/76903368?v=4)](https://github.com/m-mohammadi1 "m-mohammadi1 (7 commits)")

### Embed Badge

![Health badge](/badges/luckyboy1001-avatarate/health.svg)

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

###  Alternatives

[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k53.3M146](/packages/league-glide)[intervention/image-laravel

Laravel Integration of Intervention Image

1588.9M182](/packages/intervention-image-laravel)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

506516.3k29](/packages/bkwld-croppa)[laravel-at/laravel-image-sanitize

A small but handy package to prevent malicious code execution coming into your application through uploaded image files.

33866.8k](/packages/laravel-at-laravel-image-sanitize)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)

PHPackages © 2026

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