defro / quotable-php
PHP library to request Quotable API.
1.0.0
2022-11-21 00:32 UTC
Requires
- php: >=8.1
- ext-json: *
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- phpunit/phpunit: ^9.5
- twig/twig: ^3.0
- vlucas/phpdotenv: ^2.4
README
This package can get quotes and their authors using Quotable. Here's a quick example:
$client = new \GuzzleHttp\Client(); $quotable = new \Defro\Quotable\Api($client); $random = $quotable ->getRandomQuote(); var_dump($random);
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.