定制 binarybuilds/laritor-client 二次开发

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

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

binarybuilds/laritor-client

Composer 安装命令:

composer require binarybuilds/laritor-client

包简介

The official Laritor client for Laravel. Stream traces, exceptions, queries, jobs, and more to your Laritor dashboard in under 30 seconds.

README 文档

README

Latest Version Total Downloads Laravel Compatibility PHP Version Tests License Agentless Setup

Laritor is a Laravel-native observability and performance monitoring tool that captures requests, queries, jobs, and external calls into a single correlated timeline.

With built-in dashboards, alerts, and AI-powered insights, it helps you understand and optimize your application using real production data.

This package sends telemetry events from your Laravel application to Laritor.

Laritor Image

Why Laritor?

  • See exactly what’s slowing your application
  • Debug issues with full request timelines
  • Detect N+1 queries and slow database calls
  • Monitor queues, scheduled tasks, and failures
  • Get real-time alerts for production issues
  • No agents. No infrastructure changes

Requirements

  • PHP: ^8.0 | ^8.1 | ^8.2 | ^8.3 | ^8.4 | ^8.5
  • Laravel: ^9 | ^10 | ^11 | ^12 | ^13

Getting Started

1. Signup for Laritor

Signup for Laritor at https://laritor.com/signup

2. Install package

composer require binarybuilds/laritor-client

3. Add env variables

Add the following to your .env:

LARITOR_ENABLED=true
LARITOR_INGEST_ENDPOINT=your-ingest-endpoint
LARITOR_BACKEND_KEY=laritor-key

Environment variables:

  • LARITOR_ENABLED: Enable/disable the client.
  • LARITOR_INGEST_ENDPOINT: Laritor ingest URL for your account.
  • LARITOR_BACKEND_KEY: Backend key for authentication.

4. Run command during deployment

After deployment, run:

php artisan laritor:sync

This syncs:

  • Scheduled tasks
  • Database schema
  • Health checks

5. (Optional) Server Metrics

To collect CPU, memory, and disk usage, schedule below command to run every minute.

php artisan laritor:send-metrics

Documentation

Setup details, configuration options, and API references:

Development

Run tests:

composer test

Static analysis:

vendor/bin/phpstan

Security

If you discover a security vulnerability, do not use the public issue tracker or disclose it publicly. Please refer to our Security Policy.

Support

License

This package is open-sourced software licensed under the MIT license.

统计信息

  • 总下载量: 42.6k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 17
  • 点击次数: 20
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固