snowsoft / oaphpinfo
an small plugin to show phpinfo right in your open-admin enviourment.
0.01
2023-10-02 14:08 UTC
Requires
- php: >=7.0.0
- snowsoft/open-admin: ~v0.01
Requires (Dev)
- phpunit/phpunit: ~6.0
README
Installation
composer require snowsoft/oaphpinfo
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
License
Licensed under The MIT License (MIT).