Outputs information about PHP's configuration in laravel-admin
Clone or download
Latest commit 258c388 Oct 12, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources/views first commit Sep 6, 2018
routes first commit Sep 6, 2018
src first commit Sep 6, 2018
.gitignore first commit Sep 6, 2018
LICENSE first commit Sep 6, 2018
README.md Update README.md Oct 12, 2018
composer.json Update composer.json Sep 9, 2018

README.md

Outputs information about PHP's configuration

The laravel-admin version of the phpinfo() function, Inspired by nova-phpinfo

Screenshot

wx20180906-141140

Installation

composer require laravel-admin-ext/phpinfo

If you want to add a link entry in the left menu, use the following command to import

php artisan admin:import phpinfo

Configuration

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


    'extensions' => [

        'phpinfo' => [
        
            // Set this to false if you want to disable this extension
            'enable' => true,
            
            // What information to show,see http://php.net/manual/en/function.phpinfo.php#refsect1-function.phpinfo-parameters
            'what' => INFO_ALL,
            
            // Set access path,defaults to `phpinfo`
            //'path' => '~phpinfo',
        ]
    ]

Usage

Open http://localhost/admin/phpinfo in your broswer after install

Donate

Help keeping the project development going, by donating a little. Thanks in advance.

PayPal Me

-1

License

Licensed under The MIT License (MIT).