jjpmann/php-hosts-manager 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jjpmann/php-hosts-manager

最新稳定版本:v0.0.10

Composer 安装命令:

composer require jjpmann/php-hosts-manager

包简介

PHP CLI for managing local hosts file

README 文档

README

Latest Stable Version Build Status StyleCI License Total Downloads

PHP CLI for managing local hosts file

using https://gist.github.com/mikeflynn/4278796

install

composer require jjpmann/php-hosts-manager

or global

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

统计信息

  • 总下载量: 175
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-19