martsins / upmonitbundle
UpMonit Bundle
1.0.0
2016-12-15 12:35 UTC
Requires
- php: >=5.3.2
- composer/semver: ^1.1
- knplabs/packagist-api: ^1.3
- symfony/symfony: >=2.1
This package is not auto-updated.
Last update: 2024-09-23 13:36:54 UTC
README
安装
composer require martsins/upmonitbundle
或
在你的 composer.json 中要求 martsins/upmonitbundle
包并更新依赖。
"require" : {
....
"martsins/upmonitbundle": "dev-master",
....
}
将 UpMonitBundle 添加到应用程序的内核中
public function registerBundles()
{
$bundles = array(
...
new Martsins\UpMonitBundle\UpMonitBundle(),
...
);
...
}
配置
up_monit:
token: "%up_monit_token%"
并在 parameters.yml 中添加参数
up_monit_token: your_up_monit_server_token
命令
php bin/console upmonit:check-status
许可证
在 MIT 许可证下发布。