Download the PHP package adammbalogh/box-sdk without Composer

On this page you can find all versions of the php package adammbalogh/box-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package box-sdk

Box Sdk

Author Build Status Quality Score Packagist Version Total Downloads

SensioLabsInsight

Description

This is an unofficial Box Php Sdk.

Toc

Support

Support with Gittip

Installation

Install it through composer.

tip: you should browse the adammbalogh/box-sdk page to choose a stable version to use, avoid the @stable meta constraint.

Authorization

Your goal is to obtain a valid access token.

Authorize

The object is responsible for obtain/save the access token. The example above uses a for a , this means it does not obtain or save anything, so authorizes on each call.

If you want to save the access (and the refresh) token persistently, you should check the other adapters of the KeyValueStore package, here.

Revoke tokens

Get access token Ttl

Request

Extended Request

Here you can see an example request to the View Api. It calls the UrlDocumentUpload command.

Many of the commands are able to include an Extended Request object. With an Extended Request object you can inject your extra Headers, Url Parameters or Request Body Attributes.

Response

Handle Response

You can get 5 important response values:

Content Api

Create Client

Commands

User Commands

Get Current User Command

Folder Commands

Copy Folder Command

Create Folder Command

Create Shared Folder Link Command

Delete Folder Command

✔ Extended Request

Get Folder Info Command

List Folder Command

✔ Extended Request

List Folder Collaborations Command

Update Folder Info Command

File Commands

Copy File Command

Create Shared File Link Command

Delete File Command

✔ Extended Request

Download File Command

✔ Extended Request

Get File Info Command

Pre Flight Existing File Check Command

Pre Flight New File Check Command

Update File Info Command

Upload File Command

Upload New File Version Command

✔ Extended Request

Search Commands

Search Content Command

✔ Extended Request

View Api

Create Client

Commands

Document Commands

Delete Document Command

Get Document Content Command ☢

Get Document Info Command

✔ Extended Request

Get Document Thumbnail Command

✔ Extended Request

List Document Command

✔ Extended Request

Multipart Document Upload Command

✔ Extended Request

Update Document Info Command

Url Document Upload Command

✔ Extended Request

Session Commands

Create Document Session Command

✔ Extended Request

Wrappers

Search Path Wrapper

It wraps the Search Content Command to able to get an Entry object from a path string (like /root/dir_1/dir_2, or /pictures/img.png)

Create Folders Wrapper

It wraps the Create Folder Command to able to create folders implicitly.


All versions of box-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
guzzlehttp/guzzle Version ~4.2.2
adammbalogh/key-value-store Version ~0.5.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package adammbalogh/box-sdk contains the following files

Loading the files please wait ....