2017 © Pedro Peláez
 

library php-hosts-manager

PHP CLI for managing local hosts file

image

jjpmann/php-hosts-manager

PHP CLI for managing local hosts file

  • Thursday, January 11, 2018
  • by jjpmann
  • Repository
  • 2 Watchers
  • 1 Stars
  • 148 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

php-hosts-manager

Latest Stable Version Build Status StyleCI License Total Downloads, (*1)

PHP CLI for managing local hosts file, (*2)

using https://gist.github.com/mikeflynn/4278796, (*3)

install

composer require jjpmann/php-hosts-manager

or global, (*4)

composer global require jjpmann/php-hosts-manager

quick intro

Hosts Manager version 0.5

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  add       Add domain/host to hosts file.
  check     Check to see if domain/host exists in host file
  help      Displays help for a command
  list      Lists commands
  remove    Remove domain/host from hosts file.
  rollback  Reverts the last change.
  update    Update domain/host in hosts file.

ToDo

  1. ~~Stop "Add" when host exists~~
  2. ~~Add Tests~~
  3. Add some features

The Versions

11/01 2018

dev-master

9999999-dev http://github.com/jjpmann/php-hosts-manager

PHP CLI for managing local hosts file

  Sources   Download

MIT

The Requires

 

The Development Requires

php hosts host file

11/01 2018
25/11 2016
15/07 2016
15/07 2016

dev-analysis-8b0AZj

dev-analysis-8b0AZj http://github.com/jjpmann/php-hosts-manager

PHP CLI for managing local hosts file

  Sources   Download

MIT

The Requires

 

The Development Requires

php hosts host file

20/06 2016

dev-analysis-XZnvo0

dev-analysis-XZnvo0 http://github.com/jjpmann/php-hosts-manager

PHP CLI for managing local hosts file

  Sources   Download

MIT

The Requires

 

The Development Requires

php hosts host file

20/06 2016
20/06 2016
07/01 2016

v0.0.5

0.0.5.0 http://github.com/jjpmann/php-hosts-manager

PHP CLI for managing local hosts file

  Sources   Download

MIT

The Requires

 

The Development Requires

php hosts host file

18/09 2015

v0.0.4

0.0.4.0 http://github.com/jjpmann/php-hosts-manager

PHP CLI for managing local hosts file

  Sources   Download

MIT

The Requires

 

The Development Requires

php hosts host file

25/08 2015

v0.0.3

0.0.3.0 http://github.com/jjpmann/php-hosts-manager

PHP CLI for managing local hosts file

  Sources   Download

MIT

The Requires

 

The Development Requires

php hosts host file

25/08 2015

v0.0.2

0.0.2.0 http://github.com/jjpmann/php-hosts-manager

PHP CLI for managing local hosts file

  Sources   Download

MIT

The Requires

 

The Development Requires

php hosts host file

20/08 2015

v0.0.1

0.0.1.0 http://github.com/jjpmann/php-hosts-manager

PHP CLI for managing local hosts file

  Sources   Download

MIT

The Requires

 

php hosts host file