PHPackages                             byyoursitenl/doccloud - 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. byyoursitenl/doccloud

ActiveLibrary

byyoursitenl/doccloud
=====================

PHP wrapper for DocCloud Web API. Authored and supported by ByYourSite BV.

06PHP

Since Apr 10Pushed 8y agoCompare

[ Source](https://github.com/byyoursitenl/doccloud)[ Packagist](https://packagist.org/packages/byyoursitenl/doccloud)[ RSS](/packages/byyoursitenl-doccloud/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

ReportingCloud PHP Wrapper
==========================

[](#reportingcloud-php-wrapper)

[![Build Status](https://camo.githubusercontent.com/6b5414b33f0f8fda6c79bb66bf1cac938162e3a96af8a0acda87ef360c8c3ab2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f54657874436f6e74726f6c2f747874657874636f6e74726f6c2d7265706f7274696e67636c6f75642d7068702f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/TextControl/txtextcontrol-reportingcloud-php/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/dc7b24c7d7a9741747f74ef93cdf2de332dac5dfa50ad5c1addbb476a8dc1583/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f54657874436f6e74726f6c2f747874657874636f6e74726f6c2d7265706f7274696e67636c6f75642d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/TextControl/txtextcontrol-reportingcloud-php/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/8191f32d46f66845ce9d6c73cb102a61722c07de068a65cdd69c3f381b6ab368/68747470733a2f2f706f7365722e707567782e6f72672f6279796f7572736974656e6c2f646f63636c6f75642f762f737461626c65)](https://packagist.org/packages/byyoursitenl/doccloud)[![composer.lock](https://camo.githubusercontent.com/07e6961723a0e998312eea25c4c0ba5c8a6f816a0a141fbf8e4382f812fbdfba/68747470733a2f2f706f7365722e707567782e6f72672f6279796f7572736974656e6c2f646f63636c6f75642f636f6d706f7365726c6f636b)](https://packagist.org/packages/byyoursitenl/doccloud)

This is the official PHP wrapper for DocCloud Web API. It is authored and supported by [Byyoursite BV](http://www.byyoursite.nl).

Minimum Requirements
--------------------

[](#minimum-requirements)

The DocCloud PHP wrapper requires **PHP 5.6** or newer. There are two technical reasons for this:

- All versions of PHP prior to PHP 5.6 have reached [end-of-life](http://php.net/eol.php) and should thus not be used in a production environment.
- The dependencies [guzzlehttp/guzzle](https://packagist.org/packages/guzzlehttp/guzzle) require PHP 5.6 or newer.

If your application is running in an older environment, it is highly advisable to update to a more current version of PHP.

If you are unable or unwilling to update your PHP installation, it is possible to use DocCloud by directly accessing the \[Web API\] without using this wrapper. In such cases, it is advisable to use the [curl](http://php.net/manual/en/book.curl.php) extension to make the API calls.

Install Using Composer
----------------------

[](#install-using-composer)

The recommended way to install the DocCloud PHP wrapper in your project is using [Composer](http://getcomposer.org):

```
composer require byyoursitenl/doccloud:^1.0
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

You can then later update the DocCloud PHP wrapper using Composer:

```
composer update
```

and for best auto-loading performance consequently execute:

```
composer dump-autoload --optimize
```

Username and Password for Demos and Unit Tests
----------------------------------------------

[](#username-and-password-for-demos-and-unit-tests)

The DocCloud PHP wrapper ships with a number of sample applications (see directory `/demo`) and phpunit tests (see directory `/test`). The scripts in each of these directories require a username and password for DocCloud in order to be executed. So that your username and password are not made inadvertently publicly available via a public GIT repository, you will first need to specify them. There are two ways in which you can do this:

### Using PHP Constants:

[](#using-php-constants)

```
define('DOCCLOUD_USERNAME', 'your-username');
define('DOCCLOUD_PASSWORD', 'your-password');
```

### Using Environmental Variables (For Example in `.bashrc` or `.env`)

[](#using-environmental-variables-for-example-in-bashrc-or-env)

```
export DOCCLOUD_USERNAME='your-username'
export DOCCLOUD_PASSWORD='your-password'
```

Note, these instructions apply only to the demo scripts and phpunit tests. When you use DocCloud in your application, set credentials in your constructor, using the `setApiKey($apiKey)` or the `setUsername($username)` and `setPassword($password)` methods. For an example, see `/demo/instantiation.php`.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/492f1cb87b69e1d9ee503cd1f7cc228c91f5cf460911a7ab5afac812ce85945d?d=identicon)[byyoursitenl](/maintainers/byyoursitenl)

---

Top Contributors

[![byyoursitenl](https://avatars.githubusercontent.com/u/30894421?v=4)](https://github.com/byyoursitenl "byyoursitenl (7 commits)")[![bjornBYS](https://avatars.githubusercontent.com/u/26627532?v=4)](https://github.com/bjornBYS "bjornBYS (2 commits)")

### Embed Badge

![Health badge](/badges/byyoursitenl-doccloud/health.svg)

```
[![Health](https://phpackages.com/badges/byyoursitenl-doccloud/health.svg)](https://phpackages.com/packages/byyoursitenl-doccloud)
```

PHPackages © 2026

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