The easiest way to generate Gravatar avatar URL with Laravel 5
Laravel Gravatar Helper is a good package that we can use to generate Gravatar avatar URL, with multiple connections support.
Installation
You can install this package using:
$ composer require elfsundae/laravel-gravatar
Then copy the configuration file to your application:
$ cp vendor/elfsundae/laravel-gravatar/config/gravatar.php config/gravatar.php
For Lumen, you need to load the configuration file in bootstrap/app.php :
$app->configure('gravatar');
Source Code
Link:
This post is submitted by our members. Submit a new post.
Tags: Tutorials Laravel 5.4 Laravel 5.5 Intermediate Laravel 5.3