Generates a logo Base64 based on the full name
irbis45/laravel-user-logo is a Laravel package for generates a logo base64 based on the full name.
It currently has 0 GitHub stars and 1 downloads on Packagist (latest version v0.0.2).
Install it with composer require irbis45/laravel-user-logo.
Discover more Laravel packages by irbis45
or browse all Laravel packages to compare alternatives.
Last updated
Require this package with composer. It is recommended to only require the package for development.
composer require irbis45/laravel-user-logo --dev
Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
If you don't use auto-discovery, add the ServiceProvider to the providers list. For Laravel 11 or newer, add the ServiceProvider in bootstrap/providers.php. For Laravel 10 or older, add the ServiceProvider in config/app.php.
Irbis45\UserLogo\ServiceProvider::class,
php artisan vendor:publish --provider="Irbis45\UserLogo\ServiceProvider"
Or by tag:
php artisan vendor:publish --tag=user-logo-config
You can use Facade
use Irbis45\UserLogo\Facades\UserLogo;
$base64logo = UserLogo::generate('Иванов Иван');
Or helper
$base64logo = userlogo('Иванов Иван');
$base64logo = userlogo()->generate('Иванов Иван');