jxlwqq/composer-viewer

Composer Viewer for Laravel-admin

1.0.3 2020-03-17 07:12 UTC

This package is auto-updated.

Last update: 2024-10-10 13:39:22 UTC


README

A web interface of composer packages in laravel.

Screenshot

screenshot

Installation

Before you install, make sure PHP exec() function is enabled in your php.ini config file.

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

Configuration

In the extensions section of the config/admin.php file, add configurations

'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 !!
    ]
]

Usage

Open http://your-host/admin/composer-viewer

And you can find these installed packages.

More resources

Awesome Laravel-admin

License

Licensed under The MIT License (MIT).