Skip to content

Renji-FR/PhpCliShell

Repository files navigation

PhpCliShell

PhpCliShell is a project to help network administrators with many applications.
All applications run in CLI mode and permit to stay in terminal.

There is 4 applications available in PhpCliShell:

  • NetBox permit to browse IPAM objects and do some research
  • phpIPAM permit to browse IPAM objects and do some research
  • PatchManager permit to browse DCIM objects and do some research
  • FIREWALL is an ACL/NAT rules manager with firewall appliance templating.

    FIREWALL service can use IPAM application to retrieve objects

Addon informations:

It is possible to develop another addon and application with custom commands base on PhpCliShell.
PhpCliShell has a wizard tool which permit to create configuration and launcher very easily.

diagram_phpCliShell

INSTALLATION

PHP

Ubuntu only, you can get last PHP version from this PPA:
https://launchpad.net/~ondrej/+archive/ubuntu/php

  • add-apt-repository ppa:ondrej/php
  • apt update

You have to install a PHP version >= 7.1:

  • apt install php7.3-cli php7.3-mbstring php7.3-readline pphp7.3-soap php7.3-curl

For MacOS users which use PHP 7.3, there is an issue with PCRE. You have to add this configuration in your php.ini:

pcre.jit=0

To locate your php.ini, use this command: php -i | grep "Configuration File" *

PHAR

Download last PHAR release and its public key from releases

Be careful to keep public key filename same as PHAR filename with ".phar" extension

Print console help: $ php phpCliShell.phar --help

The PHAR contains all PhpCliShell applications and addons

ADDON / APPLICATION

Please read application README before use it

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages