PHP code example of sezaicetin / img-create

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

    

sezaicetin / img-create example snippets


    $img =  new sezaicetin\Create\img('Company Name');
    $img->create(300, 300, '/img/test.png');
    

    $img =  new sezaicetin\Create\img('Company Name');
    $img->create(500, 500, '/img/notfound');
    

    $img =  new sezaicetin\Create\img();
    $img->sticky = 'Company Name';
    $img->create(600, 600, '/img/notfound');
    

    $img =  new sezaicetin\Create\img('Company Name');
    echo "<img src='".$img->create(300, 300, '/img/test.jpg')."' alt='Test Photo'>";