kartmax/telescope
Composer 安装命令:
composer require kartmax/telescope
包简介
A fork of Laravel Telescope fine tuned for KartmaX
README 文档
README
Introduction
KartmnaX Telescope is an elegant debug assistant for the Laravel framework, building on the original Laravel Telescope. In addition to all the features of Telescope, KartmnaX Telescope introduces support for S3 storage and enhanced environment-based configuration, making it suitable for distributed and cloud-native environments.
Key Features
- All features of Laravel Telescope
- S3 Storage Support: Store Telescope entries in AWS S3 (or any compatible object storage)
- Custom Environment Tags: Add static and dynamic tags to every entry for better filtering and multi-tenant support
- Production Enablement: Optionally enable Telescope in production with fine-grained control
S3 Storage Usage
To use S3 as the storage backend for KartmnaX Telescope, set the following in your .env:
TELESCOPE_DRIVER=s3 TELESCOPE_S3_DISK=s3 # The Laravel disk to use (default: s3) TELESCOPE_S3_DIRECTORY=telescope # The directory/prefix in the bucket (default: telescope)
Ensure your config/filesystems.php is configured for your S3 disk.
Environment Variables
KartmnaX Telescope can be configured using the following environment variables:
# Enable/Disable Telescope TELESCOPE_ENABLED=true # Storage Configuration TELESCOPE_DRIVER=s3 TELESCOPE_S3_DISK=s3 # The Laravel disk to use (default: s3) TELESCOPE_S3_DIRECTORY=telescope # The directory/prefix in the bucket (default: telescope) # Custom Tags Configuration TELESCOPE_CUSTOM_STATIC_TAG='your service name' # Static tag for all entries (e.g., service name) TELESCOPE_CUSTOM_DYNAMIC_TAG='any dynamic app instance' # Dynamic tag for entries (e.g., instance ID) # Production and Performance Settings TELESCOPE_ENABLED_IN_PROD=true # Enable Telescope in production environment TELESCOPE_CACHE_TTL=60 # Cache TTL in seconds for Telescope entries
Custom Tags
You can attach custom tags to every entry using the following configuration:
TELESCOPE_CUSTOM_STATIC_TAG: A static string tag (e.g., service name)TELESCOPE_CUSTOM_DYNAMIC_TAG: A class name resolved from the container, whose value will be used as a tag (e.g., tenant/site token)
Production Usage
To enable KartmnaX Telescope in production, set:
TELESCOPE_ENABLED_IN_PROD=true
Access is still protected by the authorization gate.
Official Documentation
For general usage, see the Laravel Telescope documentation. For S3 and advanced configuration, refer to this README.
Contributing
Thank you for considering contributing to KartmnaX Telescope! Please see the Laravel contribution guide.
Code of Conduct
Please review and abide by the Code of Conduct.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
KartmnaX Telescope is open-sourced software licensed under the MIT license.
kartmax/telescope 适用场景与选型建议
kartmax/telescope 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 93 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 05 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「s3」 「debugging」 「monitoring」 「laravel」 「s3 logs」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 kartmax/telescope 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 kartmax/telescope 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 kartmax/telescope 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Symfony bundle for chameleon-system/sanitycheck
A PHP package that takes a snapshot of your application and allows you to retrieve it later to help with debugging.
SoftWax Health Check Bundle for Symfony framework
1Pilot client for Symfony
Laravel Database Query Logger and debug helper.
Statsd (Object Oriented) client library for PHP
统计信息
- 总下载量: 93
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 22
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-28