PHPackages                             berkas1/thingspeak\_php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. berkas1/thingspeak\_php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

berkas1/thingspeak\_php
=======================

PHP library for communication with thingspeak.com service.

1.0.0(9y ago)031MITPHP

Since May 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/berkas1/thingspeak_php)[ Packagist](https://packagist.org/packages/berkas1/thingspeak_php)[ RSS](/packages/berkas1-thingspeak-php/feed)WikiDiscussions master Synced yesterday

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

thingspeak\_php is a library which provides a simple way to communicate with [thingspeak.com](https://thingspeak.com) service

Requires only *php-curl*

[![Build Status](https://camo.githubusercontent.com/188e2e0c6dc88aabfe070eb0d40a175775e577d2fe2507e9eeecc7ad4781bf96/68747470733a2f2f7472617669732d63692e6f72672f6265726b6173312f7468696e67737065616b5f7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/berkas1/thingspeak_php)

### Installation

[](#installation)

`composer require berkas1/thingspeak_php`

### Example of use

[](#example-of-use)

method *setResponseFormat()* can set up response format to JSON or XML method *getResponse()* will return response retrieved from thingspeak.com (JSON or XML)

All kind of parameters ($params) should match those listed [here](https://www.mathworks.com/help/thingspeak/channels-and-charts.html).

```
require __DIR__ . '/vendor/autoload.php';

$ts = new \berkas1\thingspeak_php\Api(channel_id, channel_api_key);
// you can set required response format, XML and JSON currently supported
$ts->setResponseFormat("xml");

// create a channel (you need to provide user api_key in $params)
$ts->createChannel($params)->getResponse();

// update a channel
$ts->updateChannel($params)->getResponse();

// get a feed
$ts->getFeed($params)->getResponse();

// get a field feed
$ts->getFieldFeed($fieldId, $params)->getResponse();

// list public channels
$ts->listPublicChannels($params)->getResponse();

// get channel status
$ts->getStatus()->getResponse();
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3340d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/614935?v=4)[Šimon Berka](/maintainers/berkas1)[@berkas1](https://github.com/berkas1)

---

Top Contributors

[![berkas1](https://avatars.githubusercontent.com/u/614935?v=4)](https://github.com/berkas1 "berkas1 (16 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/berkas1-thingspeak-php/health.svg)

```
[![Health](https://phpackages.com/badges/berkas1-thingspeak-php/health.svg)](https://phpackages.com/packages/berkas1-thingspeak-php)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M81](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M85](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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