Download the PHP package sygnomi/scryptos-api without Composer
On this page you can find all versions of the php package sygnomi/scryptos-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package scryptos-api
SCRYPTOS API Library
Using the SCRYPTOS API class you can connect to your SCRYPTOS account and integrate it into your application.
Requirements
- PHP >= 7.0
- cUrl Extension
Installation
composer require sygnomi/scryptos-api
Usage
Create a new instance using your SCRYPTOS client name, group (dropfolder) and password
$dropfolder = new Sygnomi\ScryptosApi\Dropfolder(
['client' => 'Test',
'group' => 'test',
'password' => 'test'
'form_data' => array('field_name' => 'value') //optional
]
);
Upload files into the Sharefolder
$dropfolder->upload([
[
'name' => 'yourfilename.txt',
'file_path' => './local/path/To/File.txt'
'file_stream' => stream // Optionally you can send a file stream instead of file path
]
]);
Get upload errors
$dropfolder->getUploadErrors(); //returns error array
Features
- Upload files to Dropfolder
Standards
- PSR-4 autoloading compliant structure
- Unit-Testing with PHPUnit
TODO
- [ ] Add sharefolder class
All versions of scryptos-api with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
guzzlehttp/guzzle Version ^6.3
guzzlehttp/psr7 Version ^1.4
guzzlehttp/promises Version ^1.3
guzzlehttp/guzzle Version ^6.3
guzzlehttp/psr7 Version ^1.4
guzzlehttp/promises Version ^1.3
The package sygnomi/scryptos-api contains the following files
Loading the files please wait ....