PHPackages                             vhosting/tools-sdk - 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. [API Development](/categories/api)
4. /
5. vhosting/tools-sdk

ActiveLibrary[API Development](/categories/api)

vhosting/tools-sdk
==================

Tools API SDK

0.2.0(2mo ago)016MITPHPPHP ^8.5

Since Mar 11Pushed 3w agoCompare

[ Source](https://github.com/vhosting/tools-sdk)[ Packagist](https://packagist.org/packages/vhosting/tools-sdk)[ Docs](https://github.com/vhosting/tools-sdk)[ RSS](/packages/vhosting-tools-sdk/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (6)Versions (4)Used By (0)

Tools API SDK
=============

[](#tools-api-sdk)

The PHP SDK for interacting with the VHosting Tools API, developed using the [Saloon](https://saloon.dev/) library.

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

[](#installation)

You can install the package via composer:

```
composer require vhosting/tools-sdk
```

The package automatically registers itself in Laravel through the Service Provider.

Configuration
-------------

[](#configuration)

You can publish the configuration file with the following command:

```
php artisan vendor:publish --provider="VHosting\ToolsSdk\ToolsSdkServiceProvider"
```

These are the supported environment variables:

```
TOOLS_TOKEN=your-api-token
TOOLS_URL=https://tools.vhosting-it.com
TOOLS_MOCK=false
```

The token can be generated by visiting .

Usage
-----

[](#usage)

The SDK provides a Laravel Facade that makes it easy to access resources.

### Workflow Management

[](#workflow-management)

All workflow operations are accessible via `ToolsSdk::workflow()`.

#### Retrieve all workflows (Paginated)

[](#retrieve-all-workflows-paginated)

```
use VHosting\ToolsSdk\Facades\ToolsSdk;

$paginator = ToolsSdk::workflow()->all();

foreach ($paginator as $workflow) {
    echo $workflow->id;
    echo $workflow->status;
}
```

#### Retrieve a single workflow

[](#retrieve-a-single-workflow)

```
$workflow = ToolsSdk::workflow()->get(123);

echo $workflow->description;
echo $workflow->tasks_count;
```

#### Dispatch a new workflow

[](#dispatch-a-new-workflow)

```
$workflow = ToolsSdk::workflow()->dispatch('workflow-type-name', [
    'parameter1' => 'value1',
    'parameter2' => 'value2',
]);

echo $workflow->id;
```

#### Retry a failed workflow

[](#retry-a-failed-workflow)

```
ToolsSdk::workflow()->retry(123);
```

Mocking for Tests
-----------------

[](#mocking-for-tests)

The SDK integrates Saloon's faking system to facilitate testing:

```
use VHosting\ToolsSdk\Facades\ToolsSdk;
use Saloon\Http\Faking\MockResponse;

ToolsSdk::fake([
    '*' => MockResponse::make(['id' => 1, 'status' => 'completed'], 200),
]);
```

It is also possible to enable mocks globally via the `TOOLS_MOCK=true` environment variable, which will use the default data defined in the `Mocks` class.

License
-------

[](#license)

MIT License (MIT). For more information, please see the [LICENSE](LICENSE) file.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance92

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Every ~21 days

Total

3

Last Release

62d ago

PHP version history (2 changes)0.1.1PHP ^8.4

0.1.2PHP ^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba98a3b5b1a03bc4c37de57b9d2aefbba31c73570e10df5833a50ad4106fc583?d=identicon)[Lukasss93](/maintainers/Lukasss93)

---

Top Contributors

[![Lukasss93](https://avatars.githubusercontent.com/u/4071613?v=4)](https://github.com/Lukasss93 "Lukasss93 (15 commits)")

### Embed Badge

![Health badge](/badges/vhosting-tools-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/vhosting-tools-sdk/health.svg)](https://phpackages.com/packages/vhosting-tools-sdk)
```

###  Alternatives

[helgesverre/mistral

Laravel Client for the Mistral.ai API

5516.5k1](/packages/helgesverre-mistral)[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1122.7k](/packages/codebar-ag-laravel-docuware)[codebar-ag/laravel-zammad

Zammad integration with Laravel

106.7k](/packages/codebar-ag-laravel-zammad)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

209.4k](/packages/njoguamos-laravel-plausible)[sandorian/moneybird-api-php

Moneybird API client for PHP

137.8k](/packages/sandorian-moneybird-api-php)

PHPackages © 2026

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