defro/colourlovers

Library to request Colour Lovers REST Api.

Maintainers

Package info

github.com/defro/colourlovers

pkg:composer/defro/colourlovers

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.0 2022-11-20 23:43 UTC

This package is auto-updated.

Last update: 2026-02-21 07:54:18 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.