PHPackages                             razxc/telescope - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. razxc/telescope

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

razxc/telescope
===============

Alerting, collecting and tracking for errors in production and development

6.0.0(3mo ago)03↓90.9%MITPHPPHP &gt;=5.3.0

Since Mar 29Pushed 3mo agoCompare

[ Source](https://github.com/aharitonov/telescope.php)[ Packagist](https://packagist.org/packages/razxc/telescope)[ RSS](/packages/razxc-telescope/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Telescope
=========

[](#telescope)

The tool with zero-dependencies for error alerting, collecting and tracking in stages of development and maintenance.

Install
-------

[](#install)

```
composer require razxc/telescope
cp vendor/razxc/telescope/sample.telescope.ini .telescope.ini
```

Usage in production mode
------------------------

[](#usage-in-production-mode)

```
require_once __DIR__ . '/vendor/autoload.php';

use net\example\SiteApp;
use razxc\telescope\Telescope as T;

T::init(__DIR__ . '/.telescope.ini');

// Your application start...
SiteApp::run();
```

Usage in development mode
-------------------------

[](#usage-in-development-mode)

```
require_once __DIR__ . '/vendor/autoload.php';

use net\example\SiteApp;
use razxc\telescope\Telescope as T;

T::init(__DIR__ . '/.telescope.ini', T::MODE_TRACING + T::MODE_DISPLAY + T::MODE_LOG);

putenv('TELESCOPE_REPORT_URL=/.telescope-secret-page.html?nocache=' . time());
putenv('TELESCOPE_REPORT_DIR=' . __DIR__ . '/wwwroot');
putenv('TELESCOPE_REPORT_TPL=' . __DIR__ . '/vendor/razxc/telescope/src/tpls/details-page.tpl.php');

T::onShutdown(static function() {

	$paths = explode(PATH_SEPARATOR, get_include_path());
	T::shoot($paths, 'PHP included paths');

	$reportUrl = getenv('TELESCOPE_REPORT_URL');
	if (!$reportUrl) {
		return;
	}
	$reportDir  = getenv('TELESCOPE_REPORT_DIR');
	$urlPath    = parse_url($reportUrl, PHP_URL_PATH);
	$reportFile = rtrim($reportDir, '/') . '/' . basename($urlPath);
	if (!is_writable($reportFile)) {
		return;
	}

	$reportHtml = T::buildDetailReport([
		'tpl_path' => getenv('TELESCOPE_REPORT_TPL'),
	]);

	T::shootQueries(QueryConnection::getQueriesInfo());

	T::log($reportHtml, $reportFile, 'w+', false);
});

// Your application start...
SiteApp::runInDevMode();
```

Testing
-------

[](#testing)

```
cp sample.telescope.ini .telescope.ini
mkdir --parent var/logs
mkdir -m 755 -p ./.mail/letters && touch ./.mail/letters_num && chmod 644 ./.mail/letters_num # fake-sendmail.sh

rm -rf composer.lock
#composer require --dev phpunit/phpunit:10 # >= PHP 8.1
composer require --dev phpunit/phpunit:13 # >= PHP 8.4

./vendor/bin/phpunit
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance82

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

92d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a042b2223ba53b9a56bfb2f49505f46466cfa9ea7124ff7cd10c041c354406df?d=identicon)[razxc](/maintainers/razxc)

---

Top Contributors

[![aharitonov](https://avatars.githubusercontent.com/u/4365589?v=4)](https://github.com/aharitonov "aharitonov (1 commits)")

---

Tags

debugprofilerBacktracenotificationenvironmentdebuggermaintenancebugtrackererror logscrash-reportbugreport

### Embed Badge

![Health badge](/badges/razxc-telescope/health.svg)

```
[![Health](https://phpackages.com/badges/razxc-telescope/health.svg)](https://phpackages.com/packages/razxc-telescope)
```

###  Alternatives

[tracy/tracy

😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.

1.8k25.1M1.4k](/packages/tracy-tracy)[symfony/notifier

Sends notifications via one or more channels (email, SMS, ...)

80642.7M425](/packages/symfony-notifier)[adobrovolsky97/illuminar

Debug tool for Laravel Framework

2397.1k](/packages/adobrovolsky97-illuminar)[witty/laravel-push-notification

Laravel 5 Package for sending push notifications to Android and iOS devices

245.0k](/packages/witty-laravel-push-notification)[pyrech/composer-notifier

Display desktop notifications when composer finishes to install / update

411.7k](/packages/pyrech-composer-notifier)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
