2017 © Pedro Peláez
 

library statuscake-ping

This package provides a couple of traits to be used with push tests for StatusCake.

image

ssx/statuscake-ping

This package provides a couple of traits to be used with push tests for StatusCake.

  • Saturday, August 29, 2015
  • by ssx
  • Repository
  • 2 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

StatusCake Push Tests

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., (*1)

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., (*2)

Make sure to set the env variables STATUSCAKE_KEY and also STATUSCAKE_TESTID., (*3)

Push notification documentation can be found at: http://kb.statuscake.com/hc/en-us/articles/203808141-Push-Monitoring, (*4)

Tests

To run the included tests, edit phpunit.xml and set the following variables:, (*5)

    <env name="STATUSCAKE_PK" value="dfa375e414765d6"/>
    <env name="STATUSCAKE_TESTID" value="543345"/>

To match yours test credentials., (*6)

The Versions

29/08 2015

dev-master

9999999-dev

This package provides a couple of traits to be used with push tests for StatusCake.

  Sources   Download

MIT

The Requires

 

The Development Requires

29/08 2015

1.0.6

1.0.6.0

This package provides a couple of traits to be used with push tests for StatusCake.

  Sources   Download

MIT

The Requires

 

The Development Requires