devqaly/devqaly-php

This package is abandoned and no longer maintained. No replacement package was suggested.

This package allows you to send events to devqaly while a session is being recorded

v0.1.2 2023-09-01 14:49 UTC

README

Latest Version on Packagist Tests Total Downloads

This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.

Installation

You can install the package via composer:

composer require devqaly/devqaly-php

Usage

$devqaly = new Devqaly\DevqalyClient();

$sessionId = "5b03dfdf-4ad4-40ef-a67e-62b738ab76b6";
$sessionSecret = "icURAAVjCuLFaYEgUdXaW1dkDcqWNZ7bo9J1ibjfhI28xVkzQUdTRCZcsjd9";

$devqaly->createDatabaseEventTransaction($sessionId, $sessionSecret, [
    'sql' => $sql,
    'executionTimeInMilliseconds' => $executionTimeInMilliseconds
]);

$devqaly->createLogEvent($sessionId, $sessionSecret, [
    'level' => $level, // can be 'emergency', 'alert', 'critical', 'error', 'warning', 'notice', 'informational' or 'debug'
    'log' => $log
]);

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.