Download the PHP package dockcodes/dock-thor without Composer
On this page you can find all versions of the php package dockcodes/dock-thor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dockcodes/dock-thor
More information about dockcodes/dock-thor
Files in dockcodes/dock-thor
Package dock-thor
Short Description A PHP SDK for Thor (https://dock.codes)
License Apache-2.0
Rated 5.00 based on 1 reviews
Informations about the package dock-thor
DockTHOR PHP
Functions for the DockTHOR SDK that simplify the most common operations such as:
- capturing exceptions
- capturing messages
- sending events
- working with breadcrumbs
- managing scopes
- starting transactions
Instead of interacting directly with SDK classes, this package exposes a set of global helper functions that internally use the currently active Thor SDK hub.
Installation
Install via Composer:
This package requires the main Thor SDK.
Initialization
Before using any helper functions, initialize the SDK:
The init() function builds the client and binds it to the current SDK hub.
Capturing Messages
Send a simple message event.
With severity level:
Capturing Exceptions
Capture and report exceptions.
Capturing Custom Events
You can also send fully customized events.
Capture the last PHP error.
Breadcrumbs
Breadcrumbs help track application activity before an error occurs.
Working with Scope
Modify the current scope.
Create a temporary scope:
Transactions
Start a transaction for performance tracing.
License
DockTHOR is open-source software licensed under the MIT license.
All versions of dock-thor with dependencies
ext-json Version *
ext-mbstring Version *
ext-uuid Version *
guzzlehttp/promises Version ^1.0|^2.0
http-interop/http-factory-guzzle Version ^1.0
jean85/pretty-package-versions Version ^1.5|^2.0.4
php-http/async-client-implementation Version ^1.0
php-http/client-common Version ^1.5|^2.0
php-http/discovery Version ^1.15
php-http/httplug Version ^1.1|^2.0
psr/http-factory Version ^1.0
psr/http-factory-implementation Version ^1.0
psr/log Version ^1.0|^2.0|^3.0
symfony/http-client Version ^4.3|^5.0|^6.0|^7.0
symfony/options-resolver Version ^3.4.43|^4.4.30|^5.0.11|^6.0|^7.0