limestonenetworks/php-ipmitool
Fork: 1 Star: 4 (更新于 2024-11-03 11:39:21)
license: MIT
Language: PHP .
最后发布版本: 2.0.0 ( 2022-10-31 13:40:34)
php-ipmitool
This is a php wrapper for ipmitool. The goal is allow easy bootstrapping and integration of ipmitool into an existing application.
Install
Via Composer
$ composer require limestonenetworks/php-ipmitool
Usage
$confArray = [
'interface' => 'lanplus',
'username' => 'ADMIN',
'password',
'hostname',
'port',
'password_env',
'password_file',
'authtype',
'level',
'binary' => 'ipmitool'
];
$config = new LSN\ipmitool\Config($confArray);
$client = new LSN\ipmitool\Client(new Process(''),$config);
echo $client->run(['chassis','power','status');
Config options are shown with their default values. Empty means that if the option is not set then it will not be sent to the process. Each option maps to a cli flag on ipmitool aside from binary which allows you to override the name of your ipmitool binary.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email sch43228@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
最近版本更新:(数据更新于 2024-09-13 18:25:01)
2022-10-31 13:40:34 2.0.0
2018-07-10 11:43:28 1.0.5
2018-07-01 07:13:41 1.0.3
limestonenetworks/php-ipmitool同语言 PHP最近更新仓库
2024-11-01 18:37:36 schmittjoh/JMSSerializerBundle
2024-10-31 21:37:53 filamentphp/filament
2024-10-28 00:16:41 symfony/var-dumper
2024-10-28 00:11:41 symfony/symfony
2024-10-11 23:44:26 coollabsio/coolify
2024-10-11 03:27:29 odan/slim4-skeleton