PHP code example of hiworld / laravel-ctwing
1. Go to this page and download the library: Download hiworld/laravel-ctwing library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
hiworld / laravel-ctwing example snippets
use Hiworld\CTWing\AepWork;
$productId = '';
$app = AepWork::DeviceManagement();
$app->QueryDeviceList($productId)
use Hiworld\CTWing\AepWork;
$body = [];
$app = AepWork::DeviceCommand();
$response = $app->CreateCommand($body)
shell
php artisan vendor:publish --provider="Hiworld\\CTWing\\CTWingServiceProvider"