PHP Build Status

More examples and additional documentation for the PHP library can be found on GitHub at: https://github.com/imgix/imgix-php.

Example

<?php

use Imgix\UrlBuilder;

$builder = new UrlBuilder("demos.imgix.net");
$params = array("w" => 100, "h" => 100);
echo $builder->createURL("bridge.png", $params);

// Prints out:
// http://demos.imgix.net/bridge.png?h=100&w=100

More tools