PHP code example of rezizer / url
1. Go to this page and download the library: Download rezizer/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/ */
rezizer / url example snippets
$secretKey = 'OhMyG0shWhatASecretKey!';
// start the generatorf
$rezizerUrl = new Rezizer\Url('http://your.rezizer.url:port', $secretKey);
// get the Rezized url
$imageUrl = $rezizerUrl->with('http://your.domain.url/foo/bar.jpg')->resize(100, 100)->generate();