PHP Classes

How Can PHP Execute Shell Commands and Process the Results in a Simple Way - Phell Friendly PHP Shell Commands package blog

Recommend this page to a friend!
  All package blogs All package blogs   Phell Friendly PHP Shell Commands Phell Friendly PHP Shell Commands   Blog Phell Friendly PHP Shell Commands package blog   RSS 1.0 feed RSS 2.0 feed   Blog How Can PHP Execute S...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Package: Phell Friendly PHP Shell Commands

Sometimes applications need to use separate programs to implement a necessary functionality to execute an important task for the application users.

PHP can easily execute separate programs as if they run from the command line shell. However, processing the results of certain types of commands can be a complicated task.

This package provides a solution to simplify the processing of the results returned by certain commands by parsing those results and return an array that is easier for the applications to handle.




Loaded Article

About the Phell Friendly PHP Shell Commands Package

The package Phell Friendly PHP Shell Commands is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Execute shell commands and return the results

Here follows in more detail what it does:

This package can execute shell commands and return the results.

It provides a base abstract class that can execute shell commands by name.

The package also provides several sub-classes that can run common commands available on the Linux distributions and process the output of those commands to returned them in arrays.

Currently it provides command sub-classes to execute and process the output of the Linux commands df, lscpu, lsmem, vmstat and free.

A wrapper for obtaining information and deal with common tasks on Linux servers in data formats.

Conclusion

The Phell Friendly PHP Shell Commands can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.

This package was considered notable for implementing its benefits in a way that is worth noticing.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.

One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.




You need to be a registered user or login to post a comment

1,611,081 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:



Comments:

No comments were submitted yet.




  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   Phell Friendly PHP Shell Commands Phell Friendly PHP Shell Commands   Blog Phell Friendly PHP Shell Commands package blog   RSS 1.0 feed RSS 2.0 feed   Blog How Can PHP Execute S...