定制 supernet/laravel-client 二次开发

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

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

supernet/laravel-client

最新稳定版本:v1.0.0

Composer 安装命令:

composer require supernet/laravel-client

包简介

Laravel client package for Supernet error tracking

README 文档

README

A Laravel package that automatically captures and sends exceptions to your Supernet error tracking project.

Installation

composer require supernet/laravel-client

Configuration

Publish the configuration file:

php artisan vendor:publish --tag="supernet-client-config"

Add your API key and endpoint to your .env file:

SUPERNET_API_KEY=your-api-key-here
SUPERNET_API_URL=https://supernet.on-forge.com/api/v1/errors

Usage

Once installed, the package automatically captures all exceptions and sends them to your Supernet project. No additional code is needed.

Manual Reporting

You can also manually report exceptions:

use Supernet\Client\Facades\SupernetClient;

try {
    // risky operation
} catch (\Throwable $e) {
    SupernetClient::captureException($e);
}

Configuration Options

Option Default Description
api_key null Your Supernet project API key
api_url https://supernet.on-forge.com/api/v1/errors API endpoint URL
environments ['production', 'staging'] Only report from these environments (['*'] for all)
report_quietly true Silently catch reporting failures

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固