Download the PHP package antalaron/tapo without Composer
On this page you can find all versions of the php package antalaron/tapo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download antalaron/tapo
More information about antalaron/tapo
Files in antalaron/tapo
Package tapo
Short Description PHP library for controlling TP-Link Tapo smart devices
License MIT
Informations about the package tapo
Tapo PHP
A PHP library for controlling TP-Link Tapo smart devices.
Acknowledgements
The implementation of this library was inspired by:
- almottier/TapoP100 - Original PHP implementation concept
- mihai-dinculescu/tapo - Device support reference
Requirements
- PHP 7.1 or higher
Installation
Install via Composer:
Usage
Basic Example
Supported Devices
The library supports a wide range of Tapo devices:
Smart Plugs
- P100, P105 - Basic smart plugs (on/off control)
- P110, P110M, P115 - Smart plugs with energy monitoring
- P300, P306, P304M, P316M - Power strips with multiple outlets
Smart Bulbs
- L510, L520, L610 - Dimmable white bulbs
- L530, L535, L630 - Color bulbs with temperature control
- L900, L920, L930 - LED light strips (L920, L930 support lighting effects)
Available Methods
Common Methods (All Devices)
Smart Plug Methods
Energy Monitoring (P110, P110M, P115)
Smart Bulb Methods
Power Strips (P300, P306, P304M, P316M)
Feature Detection
You can check if a device supports a specific feature:
Protocol Support
The library automatically detects and uses the appropriate protocol for your device. You can also specify a preferred protocol:
Error Handling
The library throws Antalaron\Tapo\Exception\RuntimeException when errors occur:
License
This library is released under the MIT License. See the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.