pintokha / craxus
PHP library for interacting with the Craxus service.
v2.0.0
2020-05-12 11:50 UTC
Requires
- php: >=7.1
- ext-json: *
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: >=7.2
This package is auto-updated.
Last update: 2025-03-12 22:49:27 UTC
README
Register at https://craxus.io and use the application credentials within your app as shown below.
Supported platforms
- PHP - supports PHP versions: >= 7.1
- Laravel(& dusk) - version >= 5.6
Installation
You can install Craxus watcher via composer package
composer require pintokha/craxus --dev
Usage
Laravel, Symfony
After installing the package, you need to add in your env file for testing next variables:
CRAXUS_ENABLE=true
CRAXUS_SECRET=your_secret_key
CRAXUS_APP_ID=your_app_id
Next, you need to plug the extension in phpunit.xml (for Laravel dusk: phpunit.dusk.xml) file:
<extensions>
...
<extension class="Pintokha\Craxus\Craxus"/>
</extensions>
That's it, you can now run your tests. All results will be synced and displayed in your Craxus account. All data you can get on your Craxus account. https://craxus.io