Skip to content

nefydev/pet-avatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banner

Pet Avatar

Generate a random cute avatar using the GD Library

Preview

Preview

Requirements

  • PHP 8.0 or later
  • PHP GD extension must be enabled

Installation

You can install the package via composer:

composer require nefydev/pet-avatar

To setup the config file:

php artisan vendor:publish --provider="Nefydev\PetAvatar\PetAvatarServiceProvider"

Usage

    use Nefydev\PetAvatar\Facades\PetAvatar;
    //...

    // generate a cute random avatar
 	$avatar = PetAvatar::generate(); 

    // shows the file name 
    echo $avatar; 

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

Support

ko-fi