PHPackages                             purelightme/reco4life - 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. purelightme/reco4life

ActiveLibrary[API Development](/categories/api)

purelightme/reco4life
=====================

http rest api wrapper for reco4life

3.1(7y ago)3253[1 issues](https://github.com/Purelightme/reco4life/issues)PHP

Since Jul 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Purelightme/reco4life)[ Packagist](https://packagist.org/packages/purelightme/reco4life)[ RSS](/packages/purelightme-reco4life/feed)WikiDiscussions master Synced 2w ago

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

Reco4life SDK
=============

[](#reco4life-sdk)

[![Build Status](https://camo.githubusercontent.com/616a3ba801b6fb3ed7273ace8fabe62c54c83c27ff4967bec4d8d4274a10e2c5/68747470733a2f2f7472617669732d63692e6f72672f507572656c696768746d652f7265636f346c6966652e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/616a3ba801b6fb3ed7273ace8fabe62c54c83c27ff4967bec4d8d4274a10e2c5/68747470733a2f2f7472617669732d63692e6f72672f507572656c696768746d652f7265636f346c6966652e7376673f6272616e63683d6d6173746572)

现代物联网智能插座方案reco4life,支持HttpAPI和局域网API.

Sdk client for Reco4life service.

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

[](#installation)

It's recommended that you use [Composer](https://getcomposer.org/) to install this project.

```
composer require purelightme/reco4life
```

This will install the library and all required dependencies.

Usage
-----

[](#usage)

```
use Purelightme\Reco4life;

$reco = new Reco4life(YOUR_RECO_USER_NAME,YOUR_RECO_API_KEY);
$token = $reco->getToken();
$itemLists = $reco->itemList(['user_name' => YOUR_RECO_USER_NAME],$token['token']);
var_dump($itemLists);
```

Test
----

[](#test)

```
vendor/bin/phpunit tests
```

Todo
----

[](#todo)

- 局域网API(基于swoole)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

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

Every ~36 days

Total

8

Last Release

2636d ago

Major Versions

v1.0.0.x-dev → v2.0.02018-11-08

v2.0.1 → 3.02019-04-10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16385534?v=4)[purelightme](/maintainers/Purelightme)[@Purelightme](https://github.com/Purelightme)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/purelightme-reco4life/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

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

The PHP Agentic Framework.

2.0k496.1k33](/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.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

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

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

1942.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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