cooper / daily-sentence-sdk
Daily Sentence PHP SDK for ICiBa
v0.0.1
2023-02-22 01:24 UTC
Requires
- php: ^8.1
- sammyjo20/saloon: ^2.0.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.13
- pestphp/pest: ^1.22
- symfony/var-dumper: ^6.2
This package is auto-updated.
Last update: 2024-12-22 05:39:52 UTC
README
One sentence per day PHP SDK for ICiBa.
Installation
Use Composer to install this SDK
composer require cooper/daily-sentence-sdk
Usage
Simply call the getSentence
method with the request class you would like to send.
<?php $daily = new \Cooper\Daily\DailyConnector(); $response = $daily->getSentence('2023-02-15'); $response->dto(); // returns an DTO class