PHP code example of urmaul / gravacage

1. Go to this page and download the library: Download urmaul/gravacage 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/ */

    

urmaul / gravacage example snippets


use urmaul\gravacage\Gravacage;

// Get gravatar image url
Gravacage::forEmail('[email protected]')->imageUrl(100);

// Get Nicolas image url
Gravacage::forEmail('[email protected]')->nicolasUrl(100);


bash
# Install Composer
curl -sS https://getcomposer.org/installer | php