daljo25/filament-dependency-manager 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

daljo25/filament-dependency-manager

Composer 安装命令:

composer require daljo25/filament-dependency-manager

包简介

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

README 文档

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.

统计信息

  • 总下载量: 918
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固