Download the PHP package dream-group/dream-apply-sdk without Composer
On this page you can find all versions of the php package dream-group/dream-apply-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package dream-apply-sdk
Dream Apply SDK
Dream Apply SDK is a client tool for the Dream Apply API
Installation
Since version 3.0.0 the SDK is published on the Packagist.
`
Requirements
PHP 5.5 or later.
This library requires a PSR-18 or HTTPlug compatible HTTP client to function.
Recommended clients:
- (PHP >= 7.2) guzzlehttp/guzzle versions 7 and later
- (PHP >= 7.1) symfony/http-client
- (PHP >= 5.5) php-http/guzzle6-adapter
Full lists:
SDK and API versions
Supported SDK and API versions:
- SDK version 1 supports API version 3
- SDK version 2 supports API version 4
- SDK version 3 supports API version 5
See UPGRADE.md for upgrade instructions.
Initialization
Structure
The object hierarchy tries to stay as close to API uri structure as possible
snake_case in fields and dash-case in urls correspond to the camelCase for objects and properties
Work with collections
Collections work like properties of or parent collections/records. Collections implement array access and are traversable.
To use filter, get collection by method call. Please note that record obtaining and record existence check ignore current filter for the collection
Records and associations
Binary records
Some requests like applicant's photo and documents return files. Files are returned as Binary Records which behave just like normal records but contain predefined fields.
Special actions
Creating (POST)
Flags, Trackers, and Applicants can be created in API
Adding association
Flag and Tracker associations can be created in API
Deleting
Flags, Trackers, their associations, and Invoices can be deleted in API
Settable fields
API allows to set some fields like type for offer and task status
Other special cases
Simple arrays
Some requests return simple arrays, work with them as with plain php arrays
Reports
Reports object has two methods:
All versions of dream-apply-sdk with dependencies
ext-json Version *
fig/http-message-util Version ^1.1
php-http/discovery Version ^1.0
php-http/httplug Version ^1 | ^2