https://github.com/mailchimp/ironbox-php
An IronBox client for PHP
https://github.com/mailchimp/ironbox-php
Last synced: 3 months ago
JSON representation
An IronBox client for PHP
- Host: GitHub
- URL: https://github.com/mailchimp/ironbox-php
- Owner: mailchimp
- License: mit
- Created: 2014-01-28T15:14:10.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-28T15:20:55.000Z (over 12 years ago)
- Last Synced: 2025-03-12T00:44:57.838Z (over 1 year ago)
- Language: PHP
- Size: 125 KB
- Stars: 4
- Watchers: 11
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ironbox-client-php
=====================
IronBox REST client for PHP
IronBox - http://www.goironbox.com/
# Usage
To use this, instantiate the IronBox_Client class with your IronBox credentials. Then call the functions on the client to perform the desired tasks.
A simple example of uploading a file, this does all of the work of getting credentials, encrypting the file and uploading it...
$client = new IronBox_Client($email, $password, 0, 'latest', 'application/json', true);
$client->uploadFile($container_id, $file_path, $blob_name);
# Requirements
PHP 5.something (have only tested and verified with 5.3)
mcrypt for the encryption parts
# License
MIT OpenSourced license: http://opensource.org/licenses/MIT