Download the PHP package volantus/php-pigpio without Composer
On this page you can find all versions of the php package volantus/php-pigpio. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download volantus/php-pigpio
More information about volantus/php-pigpio
Files in volantus/php-pigpio
Package php-pigpio
Short Description PHP client for the pigpio daemon library
License GPL-3.0-only
Informations about the package php-pigpio
Pigpio client library for PHP
PHP client for the great Pigpio daemon library
:bangbang: 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:
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) | :heavy_check_mark: Fully supported | 0.1.1 |
Reading PWM signals | :heavy_check_mark: Fully supported | 0.1.2 |
Sending PWM signals | :heavy_check_mark: Fully supported | 0.3.0 |
SPI communication | :heavy_check_mark: Fully supported | 0.2.0 |
Hall sensors rotation counter | :heavy_check_mark: Fully supported | 0.2.5 |
Raw requests/response handling | :heavy_check_mark: 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:
Starting the Pigpio daemon
If the daemon is not running already, it can simply be started via:
Contribution
Contributors are highly welcome! Please report bugs, ask questions and create feature requests :)
Pull requests
Three simple rules:
- Write Tests
- Follow the project code style
- Use feature branches/forks and pull requests