定制 tahsingokalp/lett 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tahsingokalp/lett

最新稳定版本:2.0.2

Composer 安装命令:

composer require tahsingokalp/lett

包简介

Error reporting tool for laravel

README 文档

README

Lett

Laravel package for logging errors to Lett-Tracker

Latest Version on Packagist Build Status Quality Gate Status Bugs Code Smells Maintainability Rating Reliability Rating Security Rating

Installation on laravel

You can install the package through Composer.

composer require tahsingokalp/lett

Then publish the config and migration file of the package using the vendor publish command.

php artisan vendor:publish --provider="TahsinGokalp\Lett\LettServiceProvider"

And adjust config file (config/lett.php) with your desired settings.

Note: by default only production environments will report errors. To modify this edit your Let configuration.

Configuration variables

All that is left to do is to define two env configuration variables.

LETT_KEY=
LETT_PROJECT_KEY=

LETT_KEY is your profile key which authorises your account to the API.

LETT_PROJECT_KEY is your project API key which you've received when creating a project.

Install lett-tracker to your host and get the variables.

Reporting unhandled exceptions

You can use lett as a log-channel by adding the following config to the channels section in config/logging.php:

'channels' => [
    // ...
    'lett' => [
        'driver' => 'lett',
    ],
],

After that you can add it to the stack section:

'channels' => [
    'stack' => [
        'driver' => 'stack',
        'channels' => ['single', 'lett'],
    ],
    //...
],

Now all unhandled exceptions will be reported to Lett.

License

The Let package is open source software licensed under the license MIT

Special Thanks

This repo forked from https://github.com/LaraBug/LaraBug - https://github.com/Cannonb4ll

统计信息

  • 总下载量: 11
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固