hobiecat/boxphpapi

PHP API library for box.com

0.2.4 2020-06-19 12:01 UTC

This package is auto-updated.

Last update: 2024-04-12 09:40:08 UTC


README

Unofficial BoxPHPAPI v3 based on the API documentations located here.

THIS REPOSITORY IS BASED ON THE FORKED REPO, AND MERGES ALL CONTRIBUTIONS FROM OTHER GITHUB USERS, AS FOLLOWS:

Forked from golchha21/BoxPHPAPI

Merged contributions from:

Features

  • Fetches the user details
  • Folder:
    • List the items
    • List the collaborators
    • List the folders/files
    • Update folder details
    • Create Folder
    • Delete Folder & its content
    • Share Folder
  • Files:
    • Fetches the file details
    • Upload file
    • Update file details
    • Delete file
    • Share file

Install

Via Composer

$ composer require hobiecat/boxphpapi

Using a Box Application Config File and JWT authentication

// build an istance, it will get its access_token
$box = BoxAPI::getPreconfiguredInstance($jsonConfigPath);

// use it
$box->getUser();

Changelog

You can see the changelog here.

License

You can see the license here.