https://github.com/pyaesoneaungrgn/japoe-client
A Self-Hosted Error Tracking Solution for Laravel
https://github.com/pyaesoneaungrgn/japoe-client
Last synced: 10 months ago
JSON representation
A Self-Hosted Error Tracking Solution for Laravel
- Host: GitHub
- URL: https://github.com/pyaesoneaungrgn/japoe-client
- Owner: PyaeSoneAungRgn
- License: mit
- Created: 2024-09-28T15:50:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-28T05:00:34.000Z (11 months ago)
- Last Synced: 2025-07-28T07:06:06.856Z (11 months ago)
- Language: PHP
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# A Self-Hosted Error Tracking Solution for Laravel
This is a client package for [JaPoe](https://japoe.pyaesoneaung.dev), a self-hosted error tracking system that allows you to monitor and manage errors.
## Requirements
- Laravel >= 11.x
## Installation
To start tracking errors with JaPoe Client, follow the steps below:
### Step 1: Install JaPoe Client
Use Composer to install the JaPoe Client package:
```bash
composer require pyaesoneaung/japoe-client
```
### Step 2: Register JaPoe Client
In `bootstrap/app.php`, register the `JaPoeClient` to handle exceptions in your application:
```php
->withExceptions(function (Exceptions $exceptions) {
\PyaeSoneAung\JaPoeClient\Facades\JaPoeClient::handles($exceptions);
})->create();
```
### Step 3: Update Your Environment Configuration
Next, update the .env file with the following configurations:
```.env
JAPOE_ENABLE=true
JAPOE_HOST=your-japoe-host
JAPOE_KEY=your-japoe-key
```
Make sure to replace your-japoe-host and your-japoe-key with your actual server information and API key.
### Step 4: Test JaPoe Client
Once everything is set up, test the JaPoe Client by running:
```bash
php artisan japoe:test
```
If the setup is successful, your Laravel application will now begin tracking errors and sending them to your self-hosted JaPoe server.