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

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

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

oopsydev/laravel

Composer 安装命令:

composer require oopsydev/laravel

包简介

Lightweight error monitoring for Laravel — captures PHP exceptions with full stack traces, code context, breadcrumbs, and sends them to Oopsy. Two-line setup, zero config.

README 文档

README

Oopsy — Error monitoring for Laravel

Latest Version

PHP Version License

Lightweight error monitoring for Laravel applications.
Captures PHP exceptions with full stack traces, code context, and breadcrumbs —
then sends them to Oopsy for grouping, alerting, and debugging.

Two-line setup. Zero config. Never crashes your app.

Installation

composer require oopsydev/laravel

Add your project key to .env:

OOPSY_KEY=your-project-key

That's it. The SDK auto-registers via Laravel's package discovery. No service provider registration, no config files, no middleware setup.

What It Captures

Stack traces Surrounding code context for every frame
Request context HTTP method, URL, headers, body, query parameters
User context Authenticated user ID, email, name
Environment PHP version, Laravel version, server details
Breadcrumbs Database queries, log entries, and HTTP requests leading up to the error

How It Works

Exception occurs in your Laravel app
  → Oopsy SDK captures it via Laravel's exception handler
  → Builds payload with stack trace, context, and breadcrumbs
  → Sends HTTP POST to Oopsy API (async, non-blocking)
  → Your app continues normally — Oopsy never interferes

All error reporting is async via Http::async(). If the Oopsy API is unreachable, your app is completely unaffected.

JavaScript Error Tracking

Oopsy also captures client-side JavaScript errors. Add a single script tag to your HTML:

<script src="https://oopsy.dev/api/v1/js/YOUR_TOKEN.js" defer></script>

No npm package. No build step. Works with Blade, Livewire, Inertia, or any frontend.

Testing Your Setup

Verify your installation works:

php artisan oopsy:test

This sends a test exception to confirm connectivity.

AI / MCP Integration

Oopsy provides an MCP server that integrates with Claude Code, Cursor, and other MCP-compatible tools — allowing AI assistants to browse your errors and help debug them directly from your editor.

AI-friendly documentation is available at oopsy.dev/llms.txt.

Requirements

  • PHP 8.2+
  • Laravel 11, 12, or 13

Pricing

Plan Price Errors/month Projects
Free $0 1,000 1
Hobby $5/mo 50,000 5
Pro $19/mo 500,000 Unlimited

Start free at oopsy.dev — no credit card required.

Comparisons

Add the Badge

Show that your app is monitored by Oopsy:

monitored by: oopsy

[![monitored by: oopsy](https://oopsy.dev/images/badge-monitored.svg)](https://oopsy.dev)

License

MIT

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固