PHPackages                             bkd/zoolzphp - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. bkd/zoolzphp

ActiveLibrary[File &amp; Storage](/categories/file-storage)

bkd/zoolzphp
============

A PHP Library for interfacing with the Zoolz Reseller (http://wiki.zoolz.com/category/reseller/reseller-api/)

27PHP

Since Mar 12Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

ZoolzPHP
========

[](#zoolzphp)

A PHP class built to interface with the Zoolz API ()

()

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

[](#installation)

### Using Composer

[](#using-composer)

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `bkd/zoolzphp`.

```
"require": {
	"bkd/zoolzphp": "1.0.*"
}

```

Next, update Composer from the Terminal:

```
composer update

```

### Non-Composer Installation

[](#non-composer-installation)

- Grab the `src/ZoolzPHP.php`file and place it into your file structure.
- Require ZoolzPHP in the location you would like to utilize it.

```
	require('ZoolzPHP.php');
```

\#Usage

Create an instance of the class while passing in an array including your wsdl service URL and the authToken to work with.

```
	$config_wsdl_url = 'your_wsdl_service_url_HERE';

	//$config_wsdl_url = "http://cloud2.zoolz.com/Services/Reseller/Service.asmx?wsdl";

	$config_authToken = 'your_auth_token_HERE';

	//$config_authToken =	'0a2cbe7c787711e3931322000a1e8728';

	$zoolz = new ZoolzPHP($config_wsdl_url, $config_authToken);

	// Tell the library to output debug info
	$zoolz->debug(true);

```

\#Methods After creating a new instance of ZoolzPHP call any of the methods below

\##GetPlanInfo(int $plan\_ID)

This method takes an int value `$plan_ID` and will attempt to get information of that Plan in Zoolz reseller account.

```
	$return = $zoolz->GetPlanInfo('331');
	print "\n";
	print_r($return);
	print "";

```

\##GetPlansInfo()

This method will attempt to get information of all Plans in Zoolz reseller account.

```
	$return = $zoolz->GetPlansInfo();
	print "\n";
	print_r($return);
	print "";

```

\##CreateAccount(array $parameters)

This method takes an array values `$parameters` for new account creation and will attempt to crate account in Zoolz reseller account.

```
	$parameters_create_account = array (
				'name'	=> 'bharat', //required
				'email'=>'bharatkumardhaker@gmail.com', //required
				'password'=>'testbharat',
				'planID' => '331',		// the ID number for their plan
				'sendEmail'=>true,
				//'Language'=>$Language,

			);
	$return = $zoolz->CreateAccount($parameters_create_account);
	print "\n";
	print_r($return);
	 print "";

```

\##CreateAccountWithLanguage(array $parameters)

This method takes an array values `$parameters` for new account creation and will attempt to crate account in Zoolz reseller account. Here is language code: 1 = English 3 = French 5 = Polish 6 = Finnish

```
	$parameters_create_account = array (
				'name'	=> 'bharat', //required
				'email'=>'bharatkumardhaker@gmail.com', //required
				'password'=>'testbharat',
				'planID' => '331',		// the ID number for their plan
				'sendEmail'=>true,
				'Language'=>$Language, //int

			);
	$return = $zoolz->CreateAccountWithLanguage($parameters_create_account);
	print "\n";
	print_r($return);
	 print "";

```

\##CreateAccountWithNetworkDrive(array $parameters)

This method takes an array values `$parameters` for new account creation and will attempt to crate account in Zoolz reseller account.

```
	$parameters_create_account = array (
				'name'	=> 'bharat', //required
				'email'=>'bharatkumardhaker@gmail.com', //required
				'password'=>'testbharat',
				'planID' => '331',		// the ID number for their plan
				'sendEmail'=>true,
				'Language'=>$Language,
				'enableNetworkDrive'=>true, //Boolean

			);
	$return = $zoolz->CreateAccountWithNetworkDrive($parameters_create_account);
	print "\n";
	print_r($return);
	 print "";

```

\##CreateAccountWithComputersLimit(array $parameters)

This method takes an array values `$parameters` for new account creation and will attempt to crate account in Zoolz reseller account.

```
	$parameters_create_account = array (
				'name'	=> 'bharat', //required
				'email'=>'bharatkumardhaker@gmail.com', //required
				'password'=>'testbharat',
				'planID' => '331',		// the ID number for their plan
				'sendEmail'=>true,
				'Language'=>$Language,
				'enableNetworkDrive'=>true, //Boolean
				'computersLimit'=>1, //int

			);
	$return = $zoolz->CreateAccountWithComputersLimit($parameters_create_account);
	print "\n";
	print_r($return);
	 print "";

```

\##CreatePlan(array $parameters)

This method takes an array values `$parameters` for new plan creation and will attempt to create new plans under the reseller account, giving the ability to choose the allowed instant and cold storage space, the number of users and server allowed, and the subscription frequency.

Plan Type It determines the plan type, when set to 0 the plan type will be Home plan, and when set to 1 the plan type will be Business plan, this value must be passed as integer.

Frequency Passed as integer, this will set the frequency time for the plan, as shown below: 0 = Trial 1 = Free 2 = Monthly 3 = Yearly

```
	$parameters = array (
				'planName'	=> 'bharat', //required
				'instantStorageGB'=>'', //int
				'coldStorageGB'=>'', //int
				'users' => '',		// int
				'servers'=>'', //int
				'type'=>, //int
				'frequency'=>, //int
			);
	$return = $zoolz->CreatePlan($parameters);
	print "\n";
	print_r($return);
	 print "";

```

\##UpgradeAccount(array $parameters)

Use this API to update user’s storage, users by assigning a different plan to a user account.

Plan ID The plan you wish to assign/upgrade the user to. You will need to create plans on the reseller system prior using this option and pass the ID number as an integer.

Note Upgrading the account via will not change the expiry date of the account. To update this information, you will need to call the Change Account Expiry Date API.

```
	$parameters = array (
				'email'	=> '', //required
				'planID'=>'', //int
			);
	$return = $zoolz->UpgradeAccount($parameters);
	print "\n";
	print_r($return);
	 print "";

```

\##UpgradeAccountUsingAccountID(array $parameters)

Use this API to update user’s storage, users by assigning a different plan to a user account.

Plan ID The plan you wish to assign/upgrade the user to. You will need to create plans on the reseller system prior using this option and pass the ID number as an integer.

Note Upgrading the account via will not change the expiry date of the account. To update this information, you will need to call the Change Account Expiry Date API.

```
	$parameters = array (
				'accountID'	=> '', //required
				'planID'=>'', //int
			);
	$return = $zoolz->UpgradeAccountUsingAccountID($parameters);
	print "\n";
	print_r($return);
	 print "";

```

\##ChangeAccountExpiryDate(array $parameters)

Use this API if you wish to change the expiry date of the account. Note: Accounts that have been expired for more than 30 days may be subjected to deletion.

```
	$parameters = array (
				'email'	=> '', //required
				'expiryDate'=>'', //int
			);
	$return = $zoolz->ChangeAccountExpiryDate($parameters);
	print "\n";
	print_r($return);
	 print "";

```

\##ChangeAccountExpiryDateUsingAccountID(array $parameters)

Use this API if you wish to change the expiry date of the account. Note: Accounts that have been expired for more than 30 days may be subjected to deletion.

```
	$parameters = array (
				'accountID'	=> '', //required
				'expiryDate'=>'', //int
			);
	$return = $zoolz->ChangeAccountExpiryDateUsingAccountID($parameters);
	print "\n";
	print_r($return);
	 print "";

```

\##SuspendAccount(string $email)

Use this API to suspend a specific account, if it fails to commit payment for example or upon request.

```
	$return = $zoolz->SuspendAccount($email);
	print "\n";
	print_r($return);
	 print "";

```

\##SuspendAccountUsingAccountID(int $accountID)

Use this API to suspend a specific account, if it fails to commit payment for example or upon request.

```
	$return = $zoolz->SuspendAccountUsingAccountID($accountID);
	print "\n";
	print_r($return);
	 print "";

```

\##ActivateAccount(string $email)

Use this API to activate a suspended account.

```
	$return = $zoolz->ActivateAccount($email);
	print "\n";
	print_r($return);
	 print "";

```

\##ActivateAccountUsingAccountID(int $accountID)

Use this API to activate a suspended account.

```
	$return = $zoolz->ActivateAccountUsingAccountID($accountID);
	print "\n";
	print_r($return);
	 print "";

```

\##ToggleNetworkDrive(int $accountID, boolean $isEnabled)

Use this API to activate the ability to use external/network drives for a certain user.

```
	$return = $zoolz->ToggleNetworkDrive($accountID, $isEnabled);
	print "\n";
	print_r($return);
	 print "";

```

\##DeleteAccount(string $email)

Use this API to delete a specific account. Important: Deleting an account will remove all account information and backed up data, so use this API with caution.

```
	$return = $zoolz->DeleteAccount($email);
	print "\n";
	print_r($return);
	 print "";

```

\##DeleteAccountUsingAccountID(int $accountID)

Use this API to delete a specific account. Important: Deleting an account will remove all account information and backed up data, so use this API with caution.

```
	$return = $zoolz->DeleteAccountUsingAccountID($accountID);
	print "\n";
	print_r($return);
	 print "";

```

\##GetAccountInfo(string $email)

Here you can request account information about a specific user, such as storage space, used space, registration end date and last activity.

```
	$return = $zoolz->GetAccountInfo($email);
	print "\n";
	print_r($return);
	 print "";

```

\##GetAccountInfoUsingEmailAndPass(string $email, string password )

Here you can request account information about a specific user, such as storage space, used space, registration end date and last activity.

```
	$return = $zoolz->GetAccountInfoUsingEmailAndPass($email, $password);
	print "\n";
	print_r($return);
	 print "";

```

\##GetAccountInfoUsingAccountID(int $accountID)

Here you can request account information about a specific user, such as storage space, used space, registration end date and last activity.

```
	$return = $zoolz->GetAccountInfoUsingAccountID($accountID);
	print "\n";
	print_r($return);
	 print "";

```

\##ResetPassword(string $email, string password )

To change user password using email id.

```
	$return = $zoolz->ResetPassword($email, $password);
	print "\n";
	print_r($return);
	 print "";

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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://avatars.githubusercontent.com/u/140647?v=4)[Brett D](/maintainers/bkd)[@bkd](https://github.com/bkd)

---

Top Contributors

[![bkd27](https://avatars.githubusercontent.com/u/3219510?v=4)](https://github.com/bkd27 "bkd27 (10 commits)")

### Embed Badge

![Health badge](/badges/bkd-zoolzphp/health.svg)

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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