PHP code example of gmail-logo / generator

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

    

gmail-logo / generator example snippets


echo (new \GmailLogo\Painter())->typical();

class CustomPainter extends \GmailLogo\Painter
{
    public function customImage()
    {
    }
}

echo (new CustomPainter())->customImage();