crypt4 / jantung-laravel
Handle Laravel Exception Events
Requires
- php: ^7.4 || ^8.0 || ^8.1 || ^8.2
- crypt4/jantung-php: ^1.0
- guzzlehttp/guzzle: ^6.3.1|^7.0.1
- hisorange/browser-detect: ^4.0
- illuminate/contracts: ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0
- illuminate/routing: ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0
- illuminate/support: ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0
Requires (Dev)
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0
- orchestra/testbench: ^8.5
- phpunit/phpunit: ^8.0 || ^9.00 || ^10.1
This package is auto-updated.
Last update: 2025-03-18 01:29:41 UTC
README
Jantung Laravel Client
Jantung is a simple issue tracker for monitoring your application crashes. This package developed for Laravel framework.
Installation
- Requirements
- Installing Jantung
Requirements
Jantung has a few requirements you should be aware of before installing:
- Composer
- Laravel Framework 7+
Installing Jantung
composer require crypt4/jantung-laravel php artisan jantung:install
After running this command, verify that the jantung.php
was added to the config/
directory.
You can choose between Log Method or HTTP Method. You just need to setup .env
for it.
Log Method .env
setup
JANTUNG_ENABLED=true JANTUNG_QUERY_SLOW_THRESHOLD=500 JANTUNG_DRIVER=log
HTTP Method .env
setup
JANTUNG_ENABLED=true
JANTUNG_QUERY_SLOW_THRESHOLD=500
JANTUNG_DRIVER=http
JANTUNG_ENDPOINT="https://jantung.zahir.my/api"
JANTUNG_KEY=
JANTUNG_TOKEN=
Test connectivity with Jantung API:
php artisan jantung:test
Then create your application here and copy the application's key and paste in the JANTUNG_TOKEN
in your .env
file..
Then create your API Token here and copy the token and paste in the JANTUNG_KEY
in your .env
file.
Once updated your .env
, you need to run the following command to verify the connection to Jantung API is configured correctly:
php artisan jantung:verify