tisantan/php-sg105e-api-client

There is no license information available for the latest version (dev-master) of this package.

API to TP-LINK TL-SG105E Equipment

dev-master 2022-06-03 00:00 UTC

This package is auto-updated.

Last update: 2025-05-29 01:47:28 UTC


README

Installation

Download the files and run composer

composer install

Or add this library using packagist

composer require tisantan/php-sg105e-api-client

Running example.php
<?php

require_once __DIR__.'\vendor\autoload.php';

use SG105E\Client;

//Connect to the Switch
$switch = new Client('192.168.1.1','admin','password');

//Turn off the switch LED
$switch->led_control(0);