PHP code example of jruedaq / gravatar-url

1. Go to this page and download the library: Download jruedaq/gravatar-url library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jruedaq / gravatar-url example snippets




$imageUrl = GetGravatar::getUrl(SessionData::get()->getFirstName(), SessionData::get()->getEmail(), 230);


jruedaq\GravatarUrl\GetGravatar;

$imageUrl = GetGravatar::getUrl("Juan David Rueda Quiroga", "[email protected]", 230);