dedermus / phpinfo
一个小型插件,可以在您的 open-admin 环境中直接显示 phpinfo。
2.0.1
2024-09-03 14:03 UTC
Requires
- php: ^8.2
- dedermus/open-admin-core: ^v2.0
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is not auto-updated.
Last update: 2024-10-01 14:17:45 UTC
README
安装
composer require dedermus/phpinfo
如果您想在左侧菜单中添加链接入口,请使用以下命令导入
php artisan admin:import phpinfo
配置
在 config/admin.php 文件的扩展部分添加配置
'extensions' => [ 'phpinfo' => [ // Set this to false if you want to disable this extension 'enable' => true, // What information to show,see https://php.ac.cn/manual/en/function.phpinfo.php#refsect1-function.phpinfo-parameters 'what' => INFO_ALL, // Set access path,defaults to `phpinfo` //'path' => '~phpinfo', ] ]
使用方法
安装后,在浏览器中打开 https:///admin/phpinfo
许可证
根据 The MIT License (MIT) 许可证授权。