/module-system

Admin section, which contains logs and other system related information

Primary LanguagePHPMIT LicenseMIT

System information

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

System section: Menus

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();