defro/colourlovers

Library to request Colour Lovers REST Api.

1.1.0 2022-11-20 23:43 UTC

This package is auto-updated.

Last update: 2024-10-21 04:49:56 UTC


README

Latest Version Software License Build Status SymfonyInsight Scrutinizer Code Quality Code Coverage StyleCI Total Downloads Donate

This package can get quotes and their authors using Colour Lovers API.

Here's a quick example:

$client = new \GuzzleHttp\Client();
$colourLovers = new \Defro\ColourLovers\Api($client);
$randomPalette = $colourLovers
    ->getRandomPalette();

var_dump($randomPalette);

Documentation

Read how to install, use this package, customize it on documentation page.

License

The MIT License (MIT). Please see license file for more information.