make names from avatar name

Related tags

Imagery avatarate
Overview

Make Profile Image From Name

Demo Of Name Like This Mana Lovez : demo

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

installation

composer require luckyboy1001/avatarate

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

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

avatarate.php will be published to your config directory

- more options will be added

notice

after config the avatarate config file you must give it a save_directory that should be

  • created before
  • writeable

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

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

- to do

  • unit tests
  • new features

please give me a star if you like it

You might also like...
Multiavatar is a multicultural avatar generator.
Multiavatar is a multicultural avatar generator.

Multiavatar Multiavatar is a multicultural avatar generator. In total, it is possible to generate 12,230,590,464 cryptographically unique avatars. Ini

Avatar Generating Package for Laravel.

Avatar Generating Package for Laravel.

Free database of geographic place names and corresponding geospatial data

FreeGeoDB Free database of geographic place names and corresponding geospatial data Entities airports cities countries (admin-0) lakes ports railroads

:globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats.
:globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats.

symfony upgrade fixer • twig gettext extractor • wisdom • centipede • permissions handler • extraload • gravatar • locurro • country list • transliter

Generate Heroku-like random names to use in your php applications.

HaikunatorPHP Generate Heroku-like random names to use in your PHP applications. Installation composer require atrox/haikunator Usage Haikunator is p

Library for generating random names (for table-top roleplaying games)

RPG-Name-Generator The RPG character name generator library is designed to create list of random names used for table-top role-playing games. This lib

📦 "PHP type names" contains the list of constants for the available PHP data types.

PHP type names PHP type names 📄 Description Simple library containing the list of constants for the available PHP data types. Use those constant type

A simple class that converts your URLs to link names ✨
A simple class that converts your URLs to link names ✨

CuteLinkNames A simple class that converts your URLs to link names ✨ 👀

This AddOn allows you to search for module names when adding a block
This AddOn allows you to search for module names when adding a block

Modulsuche und Modulvorschau für REDAXO 5 Dieses AddOn ermöglicht die Suche nach Modulnamen, wenn man einen Block hinzufügt. Dies kann sehr hilfreich

More options when uploading files such as name changes, resizing or compression through TinyPNG.

Kirby Upload Extended More options when uploading files like name changes, resizing via Kirby or compression and optional resizing via TinyPNG. Thanks

The library resolves the address of the nearest server to you by domain name and Your IP address

PHP Domain DNS 🍑 The library resolves the address of the nearest server to you by domain name and Your IP address Installing $ composer require kayw-

a framework for WebDevelop based on the mvc structure. The name of this project for Fun because everyone can use it. Completely simple and powerful structure for all your projects

A_A (-.-) ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ |-| █▄─▄▄─█▄─██─▄█─▄▄▄▄█─▄▄▄▄█▄─█─▄█─▄▄▄─██▀▄─██─▄

Bulk name lookup for database relations

Tatter\Roster Bulk name lookup for database relations in CodeIgniter 4 Quick Start Install with Composer: composer require tatter/roster Create a Ro

Laravel package to convert English numbers to Bangla number or Bangla text, Bangla month name and Bangla Money Format

Number to Bangla Number, Word or Month Name in Laravel | Get Wordpress Plugin Laravel package to convert English numbers to Bangla number or Bangla te

Laravel package to convert English numbers to Bangla number or Bangla text, Bangla month name and Bangla Money Format

Number to Bangla Number, Word or Month Name in Laravel | Get Wordpress Plugin Laravel package to convert English numbers to Bangla number or Bangla te

Use: [i] to share item and name in hand, [coor] to share you current coordinates

General Now you can share your Coordinates and Item with Prefix Example if you type [i] in message, later it will be automatically replaced into the n

Feel free to create new file, don't hesitate to pull your code, the most important thing is that the file name here must match your nickname so that file does not conflict with other people.

PHP-Projects hacktoberfest Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to cha

reenom domain name renews automatically.
reenom domain name renews automatically.

reenom domain name renews automatically.

Releases(v1.0.0)
Owner
mohammad mohammadi
I'm a student who loves Programming and Knowing everything related to programming makes me so happy, I love new technologies and proving my self.
mohammad mohammadi
👤 Add your own default WordPress avatar.

Custom User Avatar WordPress currently only allows you to use custom avatars that are uploaded through Gravatar. Custom User Avatar enables you to use

David Artiss 13 Jan 24, 2022
The original WordPress User Avatar plugin, before it became ProfilePress

Orig User Avatar This WordPress plugin is a fork of the popular wp-user-avatar plugin, before it became ProfilePress. Compatibility with wp-user-avata

Philipp Stracker 6 Jul 17, 2021
Multiavatar is a multicultural avatar generator.

Multiavatar Multiavatar is a multicultural avatar generator. In total, it is possible to generate 12,230,590,464 cryptographically unique avatars. Ini

Multiavatar 609 Dec 29, 2022
make car gallery with lumen

Lumen PHP Framework Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe d

Daniel 2 Feb 26, 2022
Plug n play avatar, turn name, email, and any other string into beautiful avatar (or gravatar), effortless.

laravolt/avatar Display unique avatar for any user based on their (initials) name. Preview Installation This package originally built for Laravel, but

Laravolt 1.7k Jan 3, 2023
TypeResolver - A PSR-5 based resolver of Class names, Types and Structural Element Names

TypeResolver and FqsenResolver The specification on types in DocBlocks (PSR-5) describes various keywords and special constructs but also how to stati

phpDocumentor 9k Dec 29, 2022
CRUD Build a system to insert student name information, grade the class name, and edit and delete this information

CRUD Build a system to insert student name information, grade the class name, and edit and delete this information

Sajjad 2 Aug 14, 2022
👤 Add your own default WordPress avatar.

Custom User Avatar WordPress currently only allows you to use custom avatars that are uploaded through Gravatar. Custom User Avatar enables you to use

David Artiss 13 Jan 24, 2022
The original WordPress User Avatar plugin, before it became ProfilePress

Orig User Avatar This WordPress plugin is a fork of the popular wp-user-avatar plugin, before it became ProfilePress. Compatibility with wp-user-avata

Philipp Stracker 6 Jul 17, 2021