PHPackages                             luminarix/tempest-bolt - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. luminarix/tempest-bolt

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

luminarix/tempest-bolt
======================

An interactive PsySH shell and web panel for Tempest applications.

v0.1.2(1mo ago)21↓50%MITPHPPHP ^8.5

Since Jun 28Pushed 1mo agoCompare

[ Source](https://github.com/luminarix/tempest-bolt)[ Packagist](https://packagist.org/packages/luminarix/tempest-bolt)[ RSS](/packages/luminarix-tempest-bolt/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (1)Dependencies (8)Versions (3)Used By (0)

[![Bolt](art/bolt.png)](art/bolt.png)

Bolt
====

[](#bolt)

Bolt is a PsySH-powered interactive shell **and** a React web panel for Tempest applications.

Installation
------------

[](#installation)

```
composer require luminarix/tempest-bolt
```

Console shell
-------------

[](#console-shell)

```
./tempest bolt
```

Bolt starts PsySH with these variables in scope:

- `$app` and `$container`: the Tempest container
- `$kernel`: the current Tempest kernel
- `$rootPath`: the project root
- `$internalStorage`: Tempest's internal storage path
- `$tempestVersion`: the Tempest version

Web panel
---------

[](#web-panel)

Visit `/bolt` in your application. The panel is a self-contained React + CodeMirror REPL — it ships its own pre-compiled assets, so no build step is required in the consuming app. Write PHP and press ⌘/Ctrl + Enter (or click **Run**) to evaluate it in the application context.

Application classes can be referenced by their short name — `$container->get(HomeController::class)`resolves to `\App\HomeController`. Both the web panel and the console shell alias the classes in your application's namespaces on demand.

### Security

[](#security)

The web panel evaluates arbitrary PHP, so it is **disabled outside local development by default**: it is only reachable in the `local` environment and returns `404` everywhere else.

Publish a configuration file to change this:

```
./tempest install bolt
```

This writes `bolt.config.php` into your application:

```
use Tempest\Bolt\BoltConfig;
use Tempest\Core\Environment;

return new BoltConfig(
    enabled: true,
    environments: [Environment::LOCAL],
    // Optional gate, evaluated on every request. Return false to deny (403).
    authorize: fn (\Tempest\Http\Request $request): bool => $request->getSessionValue('user') !== null,
    persistScope: false,
);
```

- `enabled` — master switch.
- `environments` — environments in which the panel is reachable. Anything else returns `404`.
- `authorize` — an optional callback to gate access (e.g. to expose it to authenticated admins on staging). Return `false` to deny with `403`.
- `persistScope` — whether variables defined in the panel persist across executions within a session.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance90

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

Every ~0 days

Total

2

Last Release

46d ago

### Community

Maintainers

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

---

Top Contributors

[![xHeaven](https://avatars.githubusercontent.com/u/14284867?v=4)](https://github.com/xHeaven "xHeaven (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/luminarix-tempest-bolt/health.svg)

```
[![Health](https://phpackages.com/badges/luminarix-tempest-bolt/health.svg)](https://phpackages.com/packages/luminarix-tempest-bolt)
```

###  Alternatives

[tempest/console

The console component provides a way to build commands within the framework or standalone command-line applications.

7249.5k25](/packages/tempest-console)[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k61.7M836](/packages/drush-drush)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

762297.9k52](/packages/civicrm-civicrm-core)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k20](/packages/tempest-framework)

PHPackages © 2026

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