PHPackages                             gmail-logo/generator - 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. gmail-logo/generator

ActiveLibrary

gmail-logo/generator
====================

The gmail logo images generator for PHP. Can be used in any framework.

v2.2.0(5y ago)068↓60%MITPHPPHP ^7.2.5

Since Jul 7Pushed 5y agoCompare

[ Source](https://github.com/OleksiiFedorchak/GmailLogo)[ Packagist](https://packagist.org/packages/gmail-logo/generator)[ RSS](/packages/gmail-logo-generator/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (17)Used By (0)

GmailLogo
=========

[](#gmaillogo)

Library for dynamically creating user logos on PHP, based on Laravel. This lib may be used with another framework or event without, just change input class type from Laravel Model App\\User to another. You event may not use models at all, simpty give the text that should be putted into the image.

See documentation [here](https://logo-generator.online/)
**Installation**:

```
composer require gmail-logo/generator

```

**Usage**:

Lib has two main classes: Generator.php and Painter.php. Painter is using methods of generators to generate custom images with color and text you like.

Also Painter contains first example of generating gmail logo: method typical(). Using this method you may just generate typical gmail logo. You just need to do so:

```
echo (new \GmailLogo\Painter())->typical();

```

This will output ![]() with necessary image.

If you need to generate some custom images, you may create new class which will extend Painter and you code may look like this:

```
class CustomPainter extends \GmailLogo\Painter
{
    public function customImage()
    {
    }
}

echo (new CustomPainter())->customImage();

```

That is!!

Using this package you can do things like this:

```
        $temporaryLogo = new Generator('John Doe', [75, 175], Font::ROBOTO_REGULAR);

        return $temporaryLogo
            ->setSizes(300,300)
            ->setRandomBackgroundColor()
            ->setTextColor(255,255,255)
            ->setTextSize(110)
            ->png()
            ->html();

```

This will create typical gmail logo for John Doe :D

This video will help you to understand how to use tha package: [![Watch the video](https://camo.githubusercontent.com/3e74ca9f1c9918c76c4084bd46f62ce6ac0ececd53c02c92d6f55c75a16b339e/68747470733a2f2f676d61696c2d6c6f676f2d666f6e74732e616d73332e6469676974616c6f6365616e7370616365732e636f6d2f696d616765732f73637265656e5f676d61696c2e706e67)](https://youtu.be/LcNiCNdjUZI)

Examples of images which could be generated by this package:
[![John Doe](https://camo.githubusercontent.com/74586214773ed255ed0321ad09fdcc26d1b69ce0f39f7b43308db96765e6d7a5/68747470733a2f2f676d61696c2d6c6f676f2d666f6e74732e616d73332e6469676974616c6f6365616e7370616365732e636f6d2f696d616765732f6578616d706c655f312e706e67)](https://camo.githubusercontent.com/74586214773ed255ed0321ad09fdcc26d1b69ce0f39f7b43308db96765e6d7a5/68747470733a2f2f676d61696c2d6c6f676f2d666f6e74732e616d73332e6469676974616c6f6365616e7370616365732e636f6d2f696d616765732f6578616d706c655f312e706e67)
[![David K.](https://camo.githubusercontent.com/b281b5b46209f3f92c4d0b5e30a28b1fa1e3fc7d216c2ae288fcf9be2e1291f7/68747470733a2f2f676d61696c2d6c6f676f2d666f6e74732e616d73332e6469676974616c6f6365616e7370616365732e636f6d2f696d616765732f6578616d706c655f322e706e67)](https://camo.githubusercontent.com/b281b5b46209f3f92c4d0b5e30a28b1fa1e3fc7d216c2ae288fcf9be2e1291f7/68747470733a2f2f676d61696c2d6c6f676f2d666f6e74732e616d73332e6469676974616c6f6365616e7370616365732e636f6d2f696d616765732f6578616d706c655f322e706e67)
[![David K. Jenny](https://camo.githubusercontent.com/3ef1e36855512b7851cc691680010b420d5497177ee47add469b844c806415ab/68747470733a2f2f676d61696c2d6c6f676f2d666f6e74732e616d73332e6469676974616c6f6365616e7370616365732e636f6d2f696d616765732f6578616d706c655f342e706e67)](https://camo.githubusercontent.com/3ef1e36855512b7851cc691680010b420d5497177ee47add469b844c806415ab/68747470733a2f2f676d61696c2d6c6f676f2d666f6e74732e616d73332e6469676974616c6f6365616e7370616365732e636f6d2f696d616765732f6578616d706c655f342e706e67)
[![Mary](https://camo.githubusercontent.com/587a92aeec7dfbb818efa9a03c8d5941875da64ff9dec2cd3237957a8cf61cdf/68747470733a2f2f676d61696c2d6c6f676f2d666f6e74732e616d73332e6469676974616c6f6365616e7370616365732e636f6d2f696d616765732f6578616d706c655f352e706e67)](https://camo.githubusercontent.com/587a92aeec7dfbb818efa9a03c8d5941875da64ff9dec2cd3237957a8cf61cdf/68747470733a2f2f676d61696c2d6c6f676f2d666f6e74732e616d73332e6469676974616c6f6365616e7370616365732e636f6d2f696d616765732f6578616d706c655f352e706e67)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

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 ~29 days

Recently: every ~0 days

Total

16

Last Release

2075d ago

Major Versions

0.0.2 → v1.0.02019-07-07

v1.9.0 → v2.0.02020-09-08

PHP version history (2 changes)0.0.0PHP ^7.0

v2.2.0PHP ^7.2.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb02e4291068a151e91fea1936b77d5525353de0e93b24971ac55d4c58771cf0?d=identicon)[Oleksii Fedorchak](/maintainers/Oleksii%20Fedorchak)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/gmail-logo-generator/health.svg)

```
[![Health](https://phpackages.com/badges/gmail-logo-generator/health.svg)](https://phpackages.com/packages/gmail-logo-generator)
```

PHPackages © 2026

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