timopaul / dreamrobot
DreamRobot PHP SDK
v1.0.1
2021-01-27 08:11 UTC
Requires
- php: ~7.1 || ~7.2 || ~7.3
This package is auto-updated.
Last update: 2025-04-27 17:47:42 UTC
README
This library contains a wrapper for the DreamRobot REST API. It is not fully implemented yet, some record types and functions are missing.
Please create a pull request if you have implemented a new API request or create issues for bugs/feature requests.
How to use
<?php use TimoPaul\DreamRobot\Client\Curl as CurlClient; use TimoPaul\DreamRobot\Request\ReadPortalAccountsRequest; // initialize HTTP client $client = CurlClient::getInstance($user, $pass); // create request object $request = $client->createRequest(ReadPortalAccountsRequest::class); // send HTTP request and get response object $response = $client->send($request);
Supported Requests
GET system/payment_method/
GET admin/portal_account/
POST token.php
POST order/
Installation
Using Composer, just add it to your composer.json
by running:
composer require timopaul/dreamrobot