devqaly / devqaly-php
This package allows you to send events to devqaly while a session is being recorded
Installs: 61
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/devqaly/devqaly-php
Requires
- php: ^8.1
- ext-curl: *
Requires (Dev)
- laravel/pint: ^1.2
- mockery/mockery: ^1.6
- pestphp/pest: ^1.20
This package is auto-updated.
Last update: 2024-08-30 01:55:24 UTC
README
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.