Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.11 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.11 KB

Composer Viewer for Laravel-admin

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