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 2mo ago

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 49% 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

3293d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16494e1ef95f2734575c81b49f11b65e4a6a14bfcb45322c499e88a9b255fcbd?d=identicon)[berkas1](/maintainers/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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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