PHPackages                             giannisftaras/smartthings - 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. giannisftaras/smartthings

ActiveLibrary[API Development](/categories/api)

giannisftaras/smartthings
=========================

A PHP wrapper for the Samsung Smart Things API

1.0.0(4y ago)0102Apache-2.0PHPPHP &gt;=7.1.0

Since Dec 30Pushed 4y ago2 watchersCompare

[ Source](https://github.com/giannisftaras/smartthings)[ Packagist](https://packagist.org/packages/giannisftaras/smartthings)[ Docs](https://github.com/giannisftaras/smartthings)[ RSS](/packages/giannisftaras-smartthings/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

PHP - Samsung Smart Things API
==============================

[](#php---samsung-smart-things-api)

This library is a simple PHP wrapper for the Smart Things API. At the moment the library utilizes only a single endpoint from the API since I don't have all the devices listed to test it with. If you want support for more devices you can implement your own calls &amp; functions and create a pull request to merge it to the main branch. For the API calls the [GuzzleHTTP](https://github.com/guzzle/guzzle) library is used as a dependency and is already included in the main package.

#### Supported devices:

[](#supported-devices)

- TV

#### Installation:

[](#installation)

You can install the library using `composer` or by simply downloading this repository and including it in your project. Installation using `composer`:

```
composer require giannisftaras/smartthings

```

#### Usage:

[](#usage)

Follow the instructions at the Smart Things Developer page on how to create a [Personal Access (Bearer) Token](https://developer-preview.smartthings.com/docs/advanced/authorization-and-permissions/#personal-access-tokens) for authenticating with the API. Then you can use the following code for testing:

```

```

You can view the TV class in `/src/smartThings/devices/tv.php` for all available functions and commands.

You can also make a basic usage of Locations and Rooms:

```
$location = new SmartThings\Locations('');
$location->get_rooms();

$room = new SmartThings\Room('');
$room->name();
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

1645d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/32f1073f424235e3b40d7a71d3b21d6359f9d6b41f4f3a111b7dfc31d7772e04?d=identicon)[giannisftaras](/maintainers/giannisftaras)

---

Top Contributors

[![giannisftaras](https://avatars.githubusercontent.com/u/4802763?v=4)](https://github.com/giannisftaras "giannisftaras (8 commits)")

---

Tags

apilibraryphpsamsungsmartthings

### Embed Badge

![Health badge](/badges/giannisftaras-smartthings/health.svg)

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M973](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)

PHPackages © 2026

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