Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Easy to use Kuler API library for PHP
PHP
branch: master

This branch is 2 commits behind gabrielsomoza:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Kuler
README.md

README.md

The PHP Kuler Library

A PHP wrapper for the Kuler API

Sample Usage

require_once "Kuler/Api.php";

$kuler = new Kuler_Api('api_key');
$themes = $kuler->get('recent');

$colors = $themes[0]->getSwatchesHex(true);  
//>> array("#516373", "#6C838C", "#F2E8C9", "#F2B999", "#F2F2F2")

$themeUrl = $themes[0]->getUrl();  
//>> http://kuler.adobe.com/#themeID/1400104

//etc.
Something went wrong with that request. Please try again.