PHPackages                             shellrent/veeam-vspc-api-client - 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. shellrent/veeam-vspc-api-client

ActiveLibrary[API Development](/categories/api)

shellrent/veeam-vspc-api-client
===============================

PHP Client for Veeam Service Provider Console API

2.1.1(3mo ago)06132[4 PRs](https://github.com/shellrent/veeam-vspc-api-client/pulls)MITPHPPHP ^8.1

Since Jan 3Pushed 3mo ago4 watchersCompare

[ Source](https://github.com/shellrent/veeam-vspc-api-client)[ Packagist](https://packagist.org/packages/shellrent/veeam-vspc-api-client)[ RSS](/packages/shellrent-veeam-vspc-api-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (30)Used By (0)

Veeam Service Provider Console API Client
=========================================

[](#veeam-service-provider-console-api-client)

A PHP SDK for integrating with the [Veeam Service Provider Console (VSPC)](https://www.veeam.com/service-provider-console.html) REST API. The library wraps the official OpenAPI specification provided with VSPC v8.1 and offers repositories, request builders, and payload helpers to quickly interact with the console from PHP applications and automation scripts.

Features
--------

[](#features)

- Guzzle-based HTTP client preconfigured for the VSPC REST endpoints.
- Repository classes mirroring the API tags (Authentication, Companies, Backup Servers, and more).
- Fluent payload builders to compose request bodies for complex operations.
- Helpers for filters, pagination, and query parameters.
- Returns PSR-7 responses or decoded JSON payloads for convenience.

Requirements
------------

[](#requirements)

- PHP ^8.1 with the JSON extension enabled.
- Composer for dependency management.
- Access to a VSPC environment (on-premises or hosted) with API credentials.

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

[](#installation)

Install the package via Composer:

```
composer require shellrent/veeam-vspc-api-client
```

Getting Started
---------------

[](#getting-started)

Create an instance of the SDK by providing the base endpoint of your VSPC installation. The client accepts an optional bearer token and additional [Guzzle client options](https://docs.guzzlephp.org/en/stable/request-options.html).

```
use Shellrent\VeeamVspcApiClient\VeeamSPCClient;

$client = new VeeamSPCClient(
    endpoint: 'https://vspc.example.com',
    token: null,
    options: [
        // Any Guzzle option (timeouts, proxies, etc.)
    ]
);
```

### Authenticate and Fetch a Token

[](#authenticate-and-fetch-a-token)

Use the `AuthenticationRepository` with the `OAuthPayload` helper to request an access token.

```
use Shellrent\VeeamVspcApiClient\Payloads\OAuthPayload;
use Shellrent\VeeamVspcApiClient\Repositories\AuthenticationRepository;

$authRepository = new AuthenticationRepository();
$request = $authRepository->postOAuthAuthentication(new OAuthPayload('username', 'password'));

$tokenResponse = $client->jsonResponse($request);
$token = $tokenResponse->access_token ?? null;
```

Subsequent requests can be executed by instantiating the client with the retrieved token or by updating the constructor argument.

### Calling Other Endpoints

[](#calling-other-endpoints)

Each repository maps to an API tag and provides helpers to build the corresponding request.

```
use Shellrent\VeeamVspcApiClient\Repositories\CompanyRepository;

$companyRepository = new CompanyRepository();
$request = $companyRepository->getCompanies();

$response = $client->jsonResponse($request);
```

Repositories accept optional filters and query parameters when executed through `VeeamSPCClient::send()` or `VeeamSPCClient::jsonResponse()`. You can build complex filters using `Filter` and `FilterCollection` helpers located under `Shellrent\VeeamVspcApiClient\Support`.

OpenAPI Specification
---------------------

[](#openapi-specification)

The official VSPC OpenAPI definition used to generate the SDK is stored in [`openapi/3.5.1/vspc-api.json`](openapi/3.5.1/vspc-api.json). Refer to it for a complete list of available operations, parameters, and payload schemas.

Contributing
------------

[](#contributing)

Contributions are welcome! If you plan to submit a pull request:

1. Fork the repository and create a feature branch.
2. Follow the existing coding standards (tabs for indentation, camelCase properties).
3. Update or add documentation when introducing new repositories or payload builders.
4. Ensure your code builds and, when possible, provide usage examples in the PR description.

License
-------

[](#license)

This project is released under the [MIT License](LICENSE.md).

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance87

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~70 days

Recently: every ~144 days

Total

17

Last Release

100d ago

Major Versions

1.0.3 → 2.0.02023-02-10

PHP version history (4 changes)1.0.0PHP ^7.4 || 8.0

2.0.0PHP ^8.0

2.0.1PHP ^7.4 || ^8.0

2.0.4PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![svdigital-development](https://avatars.githubusercontent.com/u/33652386?v=4)](https://github.com/svdigital-development "svdigital-development (9 commits)")[![TheRealGhis](https://avatars.githubusercontent.com/u/141630608?v=4)](https://github.com/TheRealGhis "TheRealGhis (4 commits)")[![ArmandoCaprio](https://avatars.githubusercontent.com/u/2544630?v=4)](https://github.com/ArmandoCaprio "ArmandoCaprio (2 commits)")[![Edo-1234](https://avatars.githubusercontent.com/u/192989811?v=4)](https://github.com/Edo-1234 "Edo-1234 (2 commits)")[![MatteoMiotello](https://avatars.githubusercontent.com/u/55100464?v=4)](https://github.com/MatteoMiotello "MatteoMiotello (1 commits)")

---

Tags

api clientphp-api-clientVeeamVSPC

### Embed Badge

![Health badge](/badges/shellrent-veeam-vspc-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/shellrent-veeam-vspc-api-client/health.svg)](https://phpackages.com/packages/shellrent-veeam-vspc-api-client)
```

###  Alternatives

[crowdin/crowdin-api-client

PHP client library for Crowdin API v2

611.5M5](/packages/crowdin-crowdin-api-client)[jobapis/jobs-common

Making it simple to integrate your application with job api providers.

4459.3k32](/packages/jobapis-jobs-common)[fabian-beiner/todoist-php-api-library

A PHP client library that provides a native interface to the official Todoist REST API.

4810.8k](/packages/fabian-beiner-todoist-php-api-library)[mrt1m/playstation-store-api

A simple wrapper for working with PlayStation Store API

734.2k](/packages/mrt1m-playstation-store-api)[boci/hetzner-laravel

A Laravel SDK for interacting with the Hetzner Cloud API - inspired by Nuno Maduro's OpenAI PHP client

901.4k](/packages/boci-hetzner-laravel)[m1x0n/helpscout-docs-api-php

API client for the Help Scout Docs API

2124.2k1](/packages/m1x0n-helpscout-docs-api-php)

PHPackages © 2026

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