Looking to hire Laravel developers? Try LaraJobs
This package is not available.

jantung-laravel maintained by crypt4

Description
Handle Laravel Exception Events
Author
Last update
2023/06/17 23:54 (dev-main)
License
Links
Downloads
34

Comments
comments powered by Disqus

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