雪软/composer-viewer

Laravel-admin 的 Composer 查看器

1.0.5 2023-01-27 11:20 UTC

This package is auto-updated.

Last update: 2024-09-27 14:41:47 UTC


README

Laravel 中 composer 包的网页界面。

屏幕截图

screenshot

安装

在安装之前,请确保您的 php.ini 配置文件中已启用 PHP exec() 函数。

composer require snowsoft/composer-viewer
# If you want to add a link entry in the left menu, use the following command to import
php artisan admin:import composer-viewer

配置

在 config/admin.php 文件的扩展部分中,添加以下配置

'extensions' => [
    'composer-viewer' => [
        // Set this to false if you want to disable this extension
        'enable' => true,
        // Set the location of composer command
        'which-composer' => '/usr/local/bin/composer', // !! it's important !!
    ]
]

使用方法

打开 http://your-host/admin/composer-viewer

您将找到这些已安装的包。

更多资源

出色的 Laravel-admin

许可证

MIT 许可证 (MIT) 下授权。