crypt4/jantung-laravel
最新稳定版本:1.0.1
Composer 安装命令:
composer require crypt4/jantung-laravel
包简介
Handle Laravel Exception Events
README 文档
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
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-13