ssx/statuscake-ping
最新稳定版本:1.0.6
Composer 安装命令:
composer require ssx/statuscake-ping
包简介
This package provides a couple of traits to be used with push tests for StatusCake.
README 文档
README
There are two traits in this package that will ping off to a StatusCake push test, either on destruct of a class or via the ping() method.
The two traits included in this package are \SSX\StatusCake\DestructPing and
\SSX\StatusCake\ManualPing. Using the DestructPing trait will fire the ping
on the destruction of the class. If you would prefer to fire the ping manually
then you can use the ManualPing trait and $this->ping() method.
Make sure to set the env variables STATUSCAKE_KEY and also STATUSCAKE_TESTID.
Push notification documentation can be found at: http://kb.statuscake.com/hc/en-us/articles/203808141-Push-Monitoring
Tests
To run the included tests, edit phpunit.xml and set the following variables:
<env name="STATUSCAKE_PK" value="dfa375e414765d6"/>
<env name="STATUSCAKE_TESTID" value="543345"/>
To match yours test credentials.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-29