faustbrian/laravel-character-builder

Character Avatar Builder for Laravel

1.0.4 2021-10-12 11:28 UTC

This package is auto-updated.

Last update: 2021-11-12 11:49:33 UTC


README

You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.

Character Avatar Builder for Laravel

PHP Latest Version

Installation

composer require faustbrian/laravel-character-builder

Usage

<?php

use Faust\CharacterBuilder\Avatar;

$avatar = new Avatar("John Doe");
$avatar->withDominantColorBackground();
$avatar->create()->encode('data-url', 100);

Testing

composer test

License

This is an open-sourced software licensed under the AGPL-3.0-or-later.