Skip to content
Easy to use Kuler API library for PHP
Find file
Pull request Compare This branch is 2 commits behind gsomoza:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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();  

Something went wrong with that request. Please try again.