hawkflow / hawkflow-php
HawkFlow.ai
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/hawkflow/hawkflow-php
Requires
- php: >=7.4
- ext-json: *
Requires (Dev)
- phpunit/phpunit: ^6.0 || ^7.0 || ^8.0
README
HawkFlow.ai
Monitoring for anyone that writes code
- Install:
composer update - Usage:
<?php require 'vendor/autoload.php'; use HawkFlow\HawkFlow\HawkFlow; // Authenticate with your API key $hf = new HawkFlow("YOUR_API_KEY"); // Start timing your code - pass through process (required) and meta (optional) parameters echo "Sending timing start data to hawkflow\n"; $hf->start("your_process_name", "your_meta_data"); // Do some work echo "Sleeping for 5 seconds...\n"; sleep(5); // End timing this piece of code - process (required) and meta (optional) parameters should match the start echo "Sending timing end data to hawkflow\n"; $hf->end("your_process_name", "your_meta_data");
More examples: HawkFlow.ai PHP examples
Read the docs: HawkFlow.ai documentation
What is HawkFlow.ai?
HawkFlow.ai is a new monitoring platform that makes it easier than ever to make monitoring part of your development process. Whether you are an Engineer, a Data Scientist, an Analyst, or anyone else that writes code, HawkFlow.ai helps you and your team take ownership of monitoring.
Testing this package
- Install dependencies:
composer update --dev - Run tests:
./vendor/bin/phpunit --verbose tests