defro / colourlovers
Library to request Colour Lovers REST Api.
1.1.0
2022-11-20 23:43 UTC
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.