sleuren/laravel 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

sleuren/laravel

最新稳定版本:1.1.3

Composer 安装命令:

composer require sleuren/laravel

包简介

Official Sleuren SDK for Laravel

README 文档

README

Sleuren

Official sleuren SDK for Laravel

Latest Stable Version Build Status License Total Downloads Monthly Downloads PHP Version Require

The Sleuren Laravel error reporter tracks errors and exceptions that happen during the execution of your application and provides instant notification with detailed information needed to prioritize, identify, reproduce and fix each issue.

Getting started

Install

To install the SDK you will need to be using Composer in your project. To install it please see the docs.

This is Laravel SDK, meaning that all the important code regarding error handling lives here.

composer require sleuren/laravel

Configuration

php artisan vendor:publish --provider="Sleuren\ServiceProvider"

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

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

Next is to add the sleuren driver to the logging.php file:

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

After that you have configured the Utah channel you can add it to the stack section:

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

Usage

All that is left to do is to define env configuration variable.

SLEUREN_KEY=

SLEUREN_KEY: is your Project API key which you've received when creating a project.

Get the variables from your Sleuren dashboard.

Run this in your terminal to test if everything is working:

php artisan sleuren:test

Documentation

For more information, see the documentation.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固