PHPackages                             jambtc/thingsboard-php-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. jambtc/thingsboard-php-sdk

ActiveLibrary[API Development](/categories/api)

jambtc/thingsboard-php-sdk
==========================

SDK PHP per ThingsBoard

01.9k—3.8%PHP

Since Jan 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jambtc/thingsboard-php-sdk)[ Packagist](https://packagist.org/packages/jambtc/thingsboard-php-sdk)[ RSS](/packages/jambtc-thingsboard-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

thingsboard-php-sdk
===================

[](#thingsboard-php-sdk)

PHP SDK for communicating with the ThingsBoard REST API

How to use
----------

[](#how-to-use)

```
/// Inizializza AuthService con il base URL
$authService = new AuthService('https://thingsboard.example.com');

// Autenticazione
$authService->authenticate('username', 'password');

// Inizializza il controller dei dispositivi
$deviceController = new DeviceController($authService);

// Ottieni un dispositivo
$device = $deviceController->getDevice('deviceId');

// Ottieni la Lista dei Dispositivi;
$devices = $deviceController->getAllDevices();

// crea un tenant
$tenantController = new TenantController($authService);

$tenantData = [
    "title" => "title",
    "name" => "description",
    "region" => "default",
    "tenantProfileId" => [
        "id" => "tenant_profile_uuid",
        "entityType" => "TENANT_PROFILE"
    ],
];

$tenant = $tenantController->createTenant($tenantData);

// crea un utente
$userController = new UserController($authService);

$userData = [
    "tenantId" => [
        "id" => "tenant_uuid",
        "entityType" => "TENANT"
    ],
    "email" => "example@mail.com",
    "name" => "example@mail.com",
    "authority" => "TENANT_ADMIN",
    "firstName" => "first Name",
    "lastName" => "last Name",
];

$user = $userController->createTenant($userData);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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://www.gravatar.com/avatar/47701ba7eb67ed045c5969c8b4a6849133d6e8bde59c0a31d3b500ac38640b6d?d=identicon)[jambtc](/maintainers/jambtc)

---

Top Contributors

[![jambtc](https://avatars.githubusercontent.com/u/30697838?v=4)](https://github.com/jambtc "jambtc (13 commits)")

### Embed Badge

![Health badge](/badges/jambtc-thingsboard-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/jambtc-thingsboard-php-sdk/health.svg)](https://phpackages.com/packages/jambtc-thingsboard-php-sdk)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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