PHPackages                             ziggeo/simple-box-integration - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ziggeo/simple-box-integration

ActiveLibrary

ziggeo/simple-box-integration
=============================

Simple PHP wrapper for the Box API

0.0.6(4y ago)454.9k1Apache-2.0PHP

Since Jan 29Pushed 4y ago11 watchersCompare

[ Source](https://github.com/Ziggeo/simple-box-integration)[ Packagist](https://packagist.org/packages/ziggeo/simple-box-integration)[ RSS](/packages/ziggeo-simple-box-integration/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (1)Versions (7)Used By (0)

simple-box-integration
======================

[](#simple-box-integration)

A Box Content Api Integration to upload files. It does not take taker of the Auth part. For that, please use [this](https://github.com/stevenmaguire/oauth2-box).

It contains the base to use simple operations with files and folders:

- Files: upload and delete.
- Folders: create and delete.

Next on we will add functionality to manage the different types of entities that the Box Content API uses.

Installation
------------

[](#installation)

To install, use composer:

```
composer require ziggeo/simple-box-integration

```

Usage
-----

[](#usage)

The wrapper can be used with the magic methods for files or folders:

```
use Ziggeo\BoxContent\Base\BoxApp;
use Ziggeo\BoxContent\Base\BoxMain;
use Ziggeo\BoxContent\Content\BoxFile;
use Ziggeo\BoxContent\Base\Exceptions\BoxClientException;

$boxApp = new BoxApp("clientID", "clientSecret", "accessToken");

$boxMain = new BoxMain($boxApp);

$boxFile = new BoxFile("/path/to/file.txt");

$folder = $boxMain->createFolder("FolderName");

try {
$file = $boxMain->upload($boxFile, array("parent" => array("id" => $folder->getId()), "name" => "file_name_in_box.txt"));
$resp = $boxMain->deleteFile($file->getId());
} catch (BoxClientException $exception) {
    echo $exception->getMessage();
}
```

or using the sendRequest method with the correct params:

```
$boxApp = new BoxApp("clientID", "clientSecret", "accessToken");

$boxMain = new BoxMain($boxApp);
$resp = $boxMain->sendRequest("/users/me", "api", array(), "accessToken");
```

where:

- The first param is the proper endpoint. Check the list [here](https://docs.box.com/reference).
- The second is the endpoint type: api or upload. This depends on the endpoint. (Optional)
- The third is an array with options. (Optional)
- The last is the accessToken provided by Box. (Optional)

Main contributors
-----------------

[](#main-contributors)

- [Pablo Iglesias](https://github.com/iglesiaspablo)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~403 days

Total

5

Last Release

1777d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/60983dc3fabef7ad59bb1285b0e46f9490b831fad9f471fcef6ebba8a05504bf?d=identicon)[oliverfriedmann](/maintainers/oliverfriedmann)

---

Top Contributors

[![iglesiaspablo](https://avatars.githubusercontent.com/u/15941718?v=4)](https://github.com/iglesiaspablo "iglesiaspablo (22 commits)")[![oliverfriedmann](https://avatars.githubusercontent.com/u/1974785?v=4)](https://github.com/oliverfriedmann "oliverfriedmann (8 commits)")[![ntshcalleia](https://avatars.githubusercontent.com/u/5845648?v=4)](https://github.com/ntshcalleia "ntshcalleia (4 commits)")[![Bane-D](https://avatars.githubusercontent.com/u/18657142?v=4)](https://github.com/Bane-D "Bane-D (1 commits)")[![ziggeo-commits](https://avatars.githubusercontent.com/u/75912522?v=4)](https://github.com/ziggeo-commits "ziggeo-commits (1 commits)")

### Embed Badge

![Health badge](/badges/ziggeo-simple-box-integration/health.svg)

```
[![Health](https://phpackages.com/badges/ziggeo-simple-box-integration/health.svg)](https://phpackages.com/packages/ziggeo-simple-box-integration)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
