PHP code example of mips / jeedom-tools
1. Go to this page and download the library: Download mips/jeedom-tools 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/ */
mips / jeedom-tools example snippets
class pluginTemplate extends eqLogic {
use MipsEqLogicTrait;
public static function myMethodAsync($_options) {
}
self::executeAsync('myMethodAsync', array(
'param1' => 'value1',
'param2' => 'value2'
));
$eqLogic->createCommandsFromConfigFile(__DIR__ . '/../config/commands.json', 'lamp');