Download the PHP package achyutn/filament-storage-monitor without Composer

On this page you can find all versions of the php package achyutn/filament-storage-monitor. 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-storage-monitor

Filament Storage Monitor

Packagist Version Packagist Downloads Packagist Stars Lint & Test PR

A strictly typed, highly expressive Filament plugin to monitor server storage. This package provides a clean, native-feeling dashboard widget that displays disk usage with support for multiple partitions, custom labeling, and dynamic health-based coloring.

Screenshot of the Filament Storage Monitor widget

Requirements

Installation

You can install the package via Composer:

Register the plugin inside your Filament panel:

You can chain several methods to customize the widget's behavior and appearance:

Usage

The plugin automatically registers a dashboard widget once disks are configured.

Adding Disks

You can add disks manually by providing a path, or resolve them directly from your Laravel filesystem configuration.

Manual Registration

You can either use addDisk() for adding a disk through parameters or add() using the Disk DTO:

Laravel Disk Registration

You can also register disks directly from your Laravel filesystem configuration file config/filesystems.php:

Authorization & Visibility

You can control the visibility of the entire widget or individual disks using boolean values or closures. This is useful for restricting sensitive server information to administrators.

Compact Mode

If you want a minimal display that only shows the disk label and free space, you can enable compact mode:

Compact mode example

Widget Properties

Strict Mode

By default, if a disk path cannot be resolved or is misconfigured (e.g., a missing mount), the widget will not crash your Filament panel. Instead, it gracefully catches the error.

If you prefer exceptions to be thrown when a disk is missing or has errors, you can enable throwException() mode:

[!NOTE] This package currently monitors Disk Partitions using native PHP filesystem functions. If you add two different paths that reside on the same partition (e.g., /var/www/html and /var/www/html/laravel-project), they will display the same total/free space because they belong to the same filesystem boundary.

Directory-specific size calculation is planned for a future release.

Localization

Filament Storage Monitor includes built-in translations for:

Translations are applied automatically based on your application's current locale.

Missing your language? Feel free to submit a PR to add it!

License

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

Contributing

Contributions are welcome! Please create a pull request or open an issue if you find any bugs or have feature requests.

Support

If you find this package useful, please consider starring the repository on GitHub to show your support.


All versions of filament-storage-monitor with dependencies

PHP Build Version
Package Version
Requires ext-mbstring Version *
filament/filament Version ^4.0|^5.0
php Version ^8.2|^8.3
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 achyutn/filament-storage-monitor contains the following files

Loading the files please wait ...