netcore / module-system
Installs: 1 718
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 7
Type:module
Requires
- php: >=5.5
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();