netcore/module-system

There is no license information available for the latest version (v0.2.5) of this package.

Installs: 1 717

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 5

Forks: 0

Open Issues: 7

Type:module

v0.2.5 2018-06-21 07:48 UTC

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

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