PHP code example of marcodattisi / placheholderimage

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

    

marcodattisi / placheholderimage example snippets



ams = [
	'size' => '200x200.png',
	'background' => '000',
	'text_color' => 'fff',
	'text' => 'Bella questa libreria'
];
$link_image = PlaceHolderImage\PlaceHolderImage::PlaceImage ($params);
echo $link_image;