Download the PHP package konspyracylabs/filament-fuse without Composer

On this page you can find all versions of the php package konspyracylabs/filament-fuse. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-fuse

Filament Fuse

A live circuit-breaker dashboard for your Filament panel, on top of harris21/laravel-fuse.

The dashboard with one circuit breaker open

What it does

It monitors one circuit. A Pro edition that monitors all of them and keeps their history is on the way.

Requirements

PHP 8.3+ · Laravel 11, 12 or 13 · Filament 5 · harris21/laravel-fuse ^0.10

Fuse keeps circuit state in the cache, so CACHE_STORE must be one your web requests, CLI and queue workers share — not array.

Install

Declare at least one circuit in config/fuse.php (an empty array uses Fuse's defaults):

Run the installer. It publishes config/filament-fuse.php, asks which circuit to monitor and offers to write that to your .env:

Register the plugin and publish its stylesheet:

Fuse Monitor is now in your panel's navigation, under Monitoring.

Minimum configuration

Nothing is required. These are the settings most installs touch:

Env Default
FILAMENT_FUSE_ENABLED true Master switch. Off shows nothing to anyone.
FILAMENT_FUSE_CIRCUIT (blank) The circuit to monitor. Must be declared in config/fuse.php.
FILAMENT_FUSE_POLL 5 Seconds between refreshes. 0 stops polling.
FILAMENT_FUSE_TIMEZONE (blank) Falls back to Filament's, then the app's, then UTC.
FILAMENT_FUSE_ENFORCE_PERMISSIONS false See Permissions.
FILAMENT_FUSE_TESTING_CIRCUIT false Enables drills.
FILAMENT_FUSE_TESTING_CIRCUIT_NAME testing-circuit-breaker Must not be the name of a real circuit.
FILAMENT_FUSE_TESTING_CIRCUIT_DURATION 300 Seconds a drill holds the circuit open.
FILAMENT_FUSE_TESTING_CIRCUIT_SCHEDULE false Close finished drills from the scheduler.
FILAMENT_FUSE_TESTING_CIRCUIT_PRODUCTION false Allow a drill to start in production.

The slug, navigation group, icons, indicator and badge are in config/filament-fuse.php, each with a comment, and can be set per panel on the plugin:

Commands

Command
php artisan filament-fuse:install Publish the config and choose the circuit to monitor.
php artisan filament-fuse:drill Open the package's testing circuit for the configured duration.
php artisan filament-fuse:drill --for=60 …or for this many seconds.
php artisan filament-fuse:drill --stop Close it now.
php artisan filament-fuse:drill --tick Close it if its time is up. What the scheduler runs.

A drill only ever opens the package's own testing circuit, which carries no traffic. It is refused in production unless FILAMENT_FUSE_TESTING_CIRCUIT_PRODUCTION=true, and refused outright if the testing circuit's name belongs to a circuit you declared yourself.

Fuse's own commands are not guarded by anybody. php artisan fuse:open {service} on a real circuit is an outage you caused: that service's jobs stop going out until it closes. fuse:close {service} closes one circuit; fuse:reset closes all of them and clears their counters, which hides an outage rather than ending it. Keep them to local and staging.

Permissions

By default any signed-in user of the panel can see the dashboard — your circuit's name, its thresholds, and how many other circuits you have declared. Guests never can. On a panel your customers log into, hand the decision to your Gate:

With spatie/laravel-permission, create a permission named viewFilamentFuse and grant it to a role. To decide per panel instead, pass a callback; $user may be null:

Troubleshooting

Screenshots

Closed, the circuit page, a drill, dark mode ![Every circuit breaker closed](https://raw.githubusercontent.com/konspyracylabs/filament-fuse/main/art/dashboard-closed.png) ![The page of an open circuit](https://raw.githubusercontent.com/konspyracylabs/filament-fuse/main/art/circuit-open.png) ![The page of a closed circuit](https://raw.githubusercontent.com/konspyracylabs/filament-fuse/main/art/circuit-closed.png) ![A drill holding the testing circuit open](https://raw.githubusercontent.com/konspyracylabs/filament-fuse/main/art/drill.png) ![The dashboard in dark mode](https://raw.githubusercontent.com/konspyracylabs/filament-fuse/main/art/dashboard-dark.png)

Pro edition

Coming soon. This package watches one circuit and keeps no history; the Pro edition will monitor every circuit in config/fuse.php, record each outage and recovery attempt, and add an incident history and per-circuit email notifications. It is not available yet — watch this repository for the announcement.

License

MIT. See LICENSE.md.


All versions of filament-fuse with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
filament/filament Version ^5.0
harris21/laravel-fuse Version ^0.10
illuminate/contracts Version ^11.0|^12.0|^13.0
spatie/laravel-package-tools Version ^1.16
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package konspyracylabs/filament-fuse contains the following files

Loading the files please wait ...