PHPackages                             jjeanniard/infoserver - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. jjeanniard/infoserver

ActiveLibrary

jjeanniard/infoserver
=====================

Get info linux ubuntu server.

v1.0.3(5y ago)048[2 issues](https://github.com/jeanniardJ/InfoServer/issues)MITPHPPHP &gt;=5.3.3

Since Jun 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jeanniardJ/InfoServer)[ Packagist](https://packagist.org/packages/jjeanniard/infoserver)[ RSS](/packages/jjeanniard-infoserver/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

News Server Linux
=================

[](#news-server-linux)

[![Latest Stable Version](https://camo.githubusercontent.com/995f6393e950d3dfe8b84adeca33aeb552a2c85f37f33dc794ca51b802fe6b1d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6a65616e6e696172642f696e666f7365727665722e737667)](https://packagist.org/packages/jjeanniard/infoserver)[![Total Downloads](https://camo.githubusercontent.com/f6f12686f3d876a0a974e645cc6e983eafd0c58a775b50dd6d31257782a6a834/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696c6c756d696e61746563682f64622d726f6c652e737667)](https://packagist.org/packages/jjeanniard/infoserver)

Description
-----------

[](#description)

Récupère les informations de base d'un serveur linux:

- Ubuntu 16.04, 20.04
- Debian 10 et les retournes en tableaux, pour pouvoir ensuite les utilisées de différentes manières.

```
* getSystem()
* getCpu()
* getRam()
* getSwap()
* getLoadAverage()
* getReseau()
* getDisk()
* getUptime()

```

### Installation

[](#installation)

`composer require jjeanniard/infoserver`

#### Warning

[](#warning)

Require: `phpseclib/phpseclib`

Usage
-----

[](#usage)

Exemple :

```
require __DIR__ . '/vendor/autoload.php';

use phpseclib\Net\SSH2;
use jjeanniard\InfoServer;

$ssh = new SSH2('localhost', 'port');

if (!$ssh->login('username', 'password')) {
    echo('Login Failed');
}

$dataServ = new InfoServer($ssh);
$dataServ->getCpu();
```

[![alt text](https://repository-images.githubusercontent.com/268706785/b787d580-2c15-11eb-8c08-dc04a34adef6 "Retour des informations du serveur apres les avoir demandé.")](https://repository-images.githubusercontent.com/268706785/b787d580-2c15-11eb-8c08-dc04a34adef6)

### Licence

[](#licence)

[MIT](https://github.com/JJeanniard/InfoServer/blob/master/LICENSE)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~40 days

Total

2

Last Release

2122d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b008d1dc83b263694de1c6fbcdcab53f10bdeb603d09370c92524200c57964c2?d=identicon)[jjeanniard](/maintainers/jjeanniard)

---

Top Contributors

[![jeanniardJ](https://avatars.githubusercontent.com/u/12540827?v=4)](https://github.com/jeanniardJ "jeanniardJ (79 commits)")[![mend-bolt-for-github[bot]](https://avatars.githubusercontent.com/in/16809?v=4)](https://github.com/mend-bolt-for-github[bot] "mend-bolt-for-github[bot] (1 commits)")

---

Tags

infoserverlinuxphp7hostnamesshCPUlinuxinfodebianubunturamreseau

### Embed Badge

![Health badge](/badges/jjeanniard-infoserver/health.svg)

```
[![Health](https://phpackages.com/badges/jjeanniard-infoserver/health.svg)](https://phpackages.com/packages/jjeanniard-infoserver)
```

###  Alternatives

[cpriego/valet-linux

A more enjoyable local development experience for Linux.

1.5k135.9k](/packages/cpriego-valet-linux)[linfo/linfo

App and library for easily parsing and displaying system information of the host, like network/torrents/cpu/memory/usb/pci/sound cards/filesystems/raid array/ipmi/etc.

3701.7M23](/packages/linfo-linfo)[genesisweb/valet-linux-plus

Advanced local development experience for Linux.

18215.3k](/packages/genesisweb-valet-linux-plus)[wdalmut/php-deb-packager

A simple debian packager for PHP applications

5483.7k8](/packages/wdalmut-php-deb-packager)[wdalmut/php-deb-describe

A simple debian packager wrapper for PHP applications

1016.0k](/packages/wdalmut-php-deb-describe)[mwguerra/web-terminal

A web-based terminal component for Filament/Laravel with command whitelisting and multiple connection types

251.1k](/packages/mwguerra-web-terminal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
