shamarkellman / gravatar
gravatar
Fund package maintenance!
shamarkellman
Requires
- php: ^7.4|^8.0
- illuminate/contracts: ^8.0
- illuminate/support: ^8.0
- illuminate/view: ^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.3
This package is auto-updated.
Last update: 2024-11-11 02:01:01 UTC
README
This package is used to generate a gravatar url for Laravel 8 applications.
Installation
You can install the package via composer:
composer require shamarkellman/gravatar
You can publish and run the migrations with:
You can publish the config file with:
php artisan vendor:publish --provider="ShamarKellman\Gravatar\GravatarServiceProvider" --tag="gravatar-config"
This is the contents of the published config file:
return [ 'size' => 80, 'max_rating' => 'g', 'default_image' => 'mp', 'always_force_default_image' => false, ];
Usage
$gravatar = new ShamarKellman\Gravatar(); echo $gravatar->buildGravatarURL();
or use the Facade
use ShamarKellman\Gravatar\Facades\Gravatar; Gravatar::buildGravatarURL();
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.