volantus/php-pigpio 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

volantus/php-pigpio

Composer 安装命令:

composer require volantus/php-pigpio

包简介

PHP client for the pigpio daemon library

README 文档

README

Latest Stable Version Build status

PHP client for the great Pigpio daemon library

‼️ Alpha status:

Library is currently in Alpha status. Bugs may occur, library may be unstable, API may be changed anytime.

Feedback and bug reports are highly welcome!

Installation

Library may be installed by using Composer:

composer require volantus/php-pigpio

Features

Currently the following features are fully implemented. If your desired Pigpio feature is not fully supported, you may use raw requests.

Feature Status Version
Notifications (e.g. GPIO changes) ✔️ Fully supported 0.1.1
Reading PWM signals ✔️ Fully supported 0.1.2
Sending PWM signals ✔️ Fully supported 0.3.0
SPI communication ✔️ Fully supported 0.2.0
Hall sensors rotation counter ✔️ Fully supported 0.2.5
Raw requests/response handling ✔️ Fully supported 0.1.1

Basic usage

This library is interacting with Pigpio by using sockets. The core communication is handled by the Client class:

use Volantus\Pigpio\Client;
use Volantus\Pigpio\Network\Socket;

$client = new Client(new Socket('127.0.0.1', 8888));

Starting the Pigpio daemon

If the daemon is not running already, it can simply be started via:

sudo pigpiod

Contribution

Contributors are highly welcome! Please report bugs, ask questions and create feature requests :)

Pull requests

Three simple rules:

  1. Write Tests
  2. Follow the project code style
  3. Use feature branches/forks and pull requests

统计信息

  • 总下载量: 134
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 1

GitHub 信息

  • Stars: 10
  • Watchers: 4
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2018-03-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固