defro / colourlovers
Library to request Colour Lovers REST Api.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/defro/colourlovers
Requires
- php: >=8.1
- ext-libxml: *
- ext-simplexml: *
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- phpunit/phpunit: ^9.5
README
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.