Download the PHP package error-tracker/php-sdk without Composer
On this page you can find all versions of the php package error-tracker/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download error-tracker/php-sdk
More information about error-tracker/php-sdk
Files in error-tracker/php-sdk
Package php-sdk
Short Description PHP libary for interacting with the error tracker api
License
Informations about the package php-sdk
Error Tracker PHP SDK
The core Error Tracker SDK for PHP. This library is for interacting with the Error Tracker API with PHP. You can also use this package for registering an error handler for a vanilla PHP app.
Who is this for?
- Developers who need a universal view of errors and bugs - before their client or users complain.
- Developers who need raw access to the API so you can report your own errors.
- Those using a native PHP application and need to register an error handler.
- Developers creating a third party plug-in for an unsupported PHP framework.
- QA / Testers who need an overall knowledge of errors across multiple systems
Installation
You can install this package with composer.
The API Client
The API client class can be used to access to the Error Tracker API
Initialization
Reporting an error
The Error Handler
If you are using a vanilla PHP application you can register an error handler to
catch your errors and sent them straight to Error Tracker. Simply create a new
instance of the Handler
class.
Disable and enable sending errors with the enabled
property of the
Handler
class
Unregister the handlers by using the unregister
function
Contributing
Getting set up
Clone the repo and run composer install
.
Then start hacking!
Testing
All new features of bug fixes must be tested. Testing is with phpunit and can be run with the following command
Coding Standards
This library uses psr2 coding standards and squizlabs/php_codesniffer
for
linting. There is a composer script for this:
Pull Requests
Before you create a pull request with you changes, the pre-commit script must pass. That can be run as follows:
Credits
This package is created and maintained by Practically.io