jxlwqq/composer-viewer

Laravel-admin 的 Composer Viewer

1.0.3 2020-03-17 07:12 UTC

This package is auto-updated.

Last update: 2024-09-10 13:30:16 UTC


README

Laravel 中 composer 包的 Web 界面。

截图

screenshot

安装

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

composer require jxlwqq/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)