Skip to content

laravel-admin-extensions/composer-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

33a3e9d · Apr 6, 2020

History

11 Commits
Oct 23, 2018
Oct 10, 2018
Mar 17, 2020
Oct 10, 2018
Oct 10, 2018
Apr 6, 2020
Oct 10, 2018

Repository files navigation

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