daljo25 / filament-dependency-manager
A Filament plugin to inspect Composer and NPM dependencies, check available updates, and provide suggested upgrade commands.
Package info
github.com/daljo25/filament-dependency-manager
pkg:composer/daljo25/filament-dependency-manager
Fund package maintenance!
Requires
- php: ^8.2
- calebporzio/sushi: ^2.5
- filament/filament: ^5.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^2.9|^3.0
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.0|^8.0|^9.0
- orchestra/testbench: ^8.0|^9.0|^10.0|^11.0
- pestphp/pest: ^3.0|^4.0
- pestphp/pest-plugin-arch: ^3.0|^4.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0
- pestphp/pest-plugin-livewire: ^3.0|^4.0
README
A powerful Filament plugin to monitor outdated Composer and NPM dependencies directly from your admin panel using native Filament tables.
Table of Contents
- Features
- Screenshots
- Requirements
- Installation
- Usage
- Configuration
- Environment Variables
- Translations
- Testing
- License
Features
- β‘ Zero Database: Uses Sushi to provide a seamless Eloquent experience without migrations.
- π¦ Composer Support: View outdated packages, current vs latest versions, and release dates.
- π’ NPM Support: Monitor updates for
dependenciesanddevDependencies. - π Native Filament Tables: Supports searching, sorting, and filtering out-of-the-box.
- π Quick Copy: Copy update commands (composer require, npm install, etc.) with a single click.
- π Multilingual: Full support for English and Spanish.
- π Performance: Results are cached to ensure instant page loads.
Screenshots
Composer Dependencies
NPM Dependencies
Requirements
The plugin automatically adapts to your environment:
| Filament Version | PHP Version | Laravel Version | Branch / Tag |
|---|---|---|---|
| Filament v5 | 8.2+ | 11.x, 12.x, 13.x | main / v5.x |
| Filament v4 | 8.2+ | 11.x, 12.x, 13.x | 4.x |
| Filament v3 | 8.1+ | 10.x, 11.x, 12.x | 3.x |
Installation
Install the package via Composer:
composer require daljo25/filament-dependency-manager php artisan dependency-manager:install
The plugin will automatically install Sushi to handle in-memory data management.
Usage
Register the plugin in your Filament Panel Provider (e.g., AdminPanelProvider.php):
use Daljo25\FilamentDependencyManager\FilamentDependencyManagerPlugin; public function panel(Panel $panel): Panel { return $panel ->plugin(FilamentDependencyManagerPlugin::make()); }
Configuration
You can publish the config file using:
php artisan vendor:publish --tag="dependency-manager-config"
Environment Variables
If your server uses non-standard paths for binaries (like Laravel Herd or custom environments), define them in your .env:
| Variable | Default | Description |
|---|---|---|
DEPENDENCY_MANAGER_COMPOSER_BIN |
null |
Full path to composer |
DEPENDENCY_MANAGER_PHP_BIN |
null |
Full path to php |
DEPENDENCY_MANAGER_NPM_CLIENT |
npm |
npm, pnpm, or yarn |
DEPENDENCY_MANAGER_NPM_BINARY |
null |
Full path to npm |
Example (macOS with Herd):
DEPENDENCY_MANAGER_COMPOSER_BIN=/Users/youruser/.config/herd-lite/bin/composer DEPENDENCY_MANAGER_PHP_BIN=/Users/youruser/.config/herd-lite/bin/php
Translations
Publish translations if you need to customize them:
php artisan vendor:publish --tag="filament-dependency-manager-translations"
Supported languages:
- πΊπΈ English
- πͺπΈ Spanish
Testing
composer test
License
The MIT License (MIT). Please see License File for more information.


