daljo25/filament-dependency-manager

A Filament plugin to inspect Composer and NPM dependencies, check available updates, and provide suggested upgrade commands.

Maintainers

Package info

github.com/daljo25/filament-dependency-manager

pkg:composer/daljo25/filament-dependency-manager

Fund package maintenance!

daljo25

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v5.0.0 2026-04-06 19:16 UTC

This package is auto-updated.

Last update: 2026-04-06 20:58:41 UTC


README

Filament Dependency Manager

Latest Version on Packagist Total Downloads

A powerful Filament plugin to monitor outdated Composer and NPM dependencies directly from your admin panel using native Filament tables.

Table of Contents

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 dependencies and devDependencies.
  • πŸ” 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

Composer Screenshot

NPM Dependencies

NPM Screenshot

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.