netcore/module-system
Composer 安装命令:
composer require netcore/module-system
包简介
README 文档
README
This module adds System section to the administration panel which contains useful system information and logs
Pre-installation
This package is part of Netcore CMS ecosystem and is only functional in a project that has following packages installed:
https://github.com/netcore/netcore
https://github.com/netcore/module-admin
https://github.com/netcore/module-user
https://github.com/nWidart/laravel-modules
If you want to enable network usage statistics, you should first install "ifstat" on your server
sudo apt-get install ifstat
Installation
Require this package with composer:
composer require netcore/module-system
Publish config, assets, migrations. Migrate and seed:
php artisan module:publish System
php artisan module:publish-migration System
php artisan migrate
php artisan module:seed System
Usage
You can access the system functionality with core()
Get current server information
core()->systemInfo();
Get current users browser
core()->browser();
Get current users operating system
core()->os();
Get current users IP
core()->userIp();
Useful log functions
core()->error();
core()->warning();
core()->info();
core()->debug();
统计信息
- 总下载量: 1.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2018-02-16