Skip to content
/ os-info Public

Application easily parsing and displaying system information of the host.

License

Notifications You must be signed in to change notification settings

ofcold/os-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Operating system information

Application easily parsing and displaying system information of the host.

Installer

	composer require olivia/os-info

Use

Basic

	$info = new Olivia\OsInfo\OSInfo(
		new Linfo\Linfo
	);

	// Cpu
	echo $info->getCpu();

Laravel or other PHP framework

	use Olivia\OsInfo\OSInfo;

	$info = app(OSInfo::class);

	// Cpu
	echo $info->getCpu();

API

  • getCpu() : string
  • getServer() : string
  • getMemory() : string
  • getMysqlVersion(string $host = '127.0.0.1', string $username = 'root', ?string password = null) : string
  • getPHPVersion() : string
  • getUploadMaxFileSize() : string

About

Application easily parsing and displaying system information of the host.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages