snowsoft/composer-viewer

Composer Viewer for Laravel-admin

1.0.5 2023-01-27 11:20 UTC

This package is auto-updated.

Last update: 2024-11-27 15:02:36 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 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

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).