https://github.com/boundstate/yii2-atlas
https://github.com/boundstate/yii2-atlas
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/boundstate/yii2-atlas
- Owner: boundstate
- Created: 2015-05-25T16:57:50.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-25T17:03:16.000Z (about 11 years ago)
- Last Synced: 2025-02-14T17:43:17.690Z (over 1 year ago)
- Language: PHP
- Size: 97.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yii2-atlas
Extension for the Yii2 framework that submits Yii errors to the Atlas API.
## Requirements
This extension requires PHP cURL support.
## Installation
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
php composer.phar require --prefer-dist boundstate/yii2-atlas "*"
or add
"boundstate/yii2-atlas": "*"
to the require section of your `composer.json` file.
## Usage
Setup the components in your config:
'atlas' => [
'class' => 'boundstate\atlas\Atlas',
'baseUrl' => 'https://atlas.boundstatesoftware.com',
'appId' => 'your-app-id',
],
'errorHandler' => [
'class' => 'boundstate\atlas\ErrorHandler',
],