lexicon / goodday
A simple Goodday package.
v1.0.0
2023-03-02 09:23 UTC
Requires
- guzzlehttp/guzzle: ^7.5@dev
This package is auto-updated.
Last update: 2024-10-27 05:46:53 UTC
README
How to install
composer require lexicon/goodday
Usage
Setting Token (.env)
GOODDAY_API_KEY=###
GET Request
use Lexicon\Goodday\Goodday;
$users = Goodday::get('<URL>');
POST Request
use Lexicon\Goodday\Goodday;
$body = [
'title' => "###,
'fromUserId' => #,
....
];
Goodday::post($body, "<URL>");
PUT Request
Goodday::post($body, "<URL>", "PUT");