Skip to content

Commit 497932b

Browse files
authored
Update README.md
updated readme
1 parent b2a2a98 commit 497932b

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

README.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,34 @@
1-
# bugphix-laravel
2-
Capture and monitor detailed error logs with nice dashboard and UI
1+
<p align="center"><a href="https://github.com/bugphix/bugphix-laravel" target="_blank" rel="noopener noreferrer"><img width="400" src="https://github.com/bugphix/bugphix-laravel/blob/master/assets/images/logo.png" alt="Bugphix logo"></a></p>
2+
3+
4+
<h3 align="center">Capture and monitor detailed error logs with nice dashboard and UI</h3>
5+
6+
## Installation
7+
$ composer require bugphix/bugphix-laravel
8+
9+
### Publish config files
10+
$ php artisan vendor:publish --tag=bugphix-config
11+
12+
### Run artisan installer
13+
$ php artisan bugphix:install
14+
15+
### Application usage
16+
edit: /app/Exceptions/Handler.php
17+
18+
public function report(Exception $exception)
19+
{
20+
if (app()->bound('bugphix') && $this->shouldReport($exception)) {
21+
app('bugphix')->catchError($exception);
22+
}
23+
24+
parent::report($exception);
25+
}
26+
27+
### View admin dashboard
28+
http://localhost:8080/bugphix/issues
29+
30+
## License
31+
32+
MIT
33+
34+
Copyright (c) 2020, Jeric

0 commit comments

Comments
 (0)