2017 © Pedro Peláez
 

metapackage vhost-manager

A command line tool to easily create and manage virtual hosts

image

therealsmat/vhost-manager

A command line tool to easily create and manage virtual hosts

  • Friday, April 20, 2018
  • by therealSMAT
  • Repository
  • 1 Watchers
  • 2 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 33 % Grown

The README.md

vhost-manager

Create and manage your virtual hosts on your command line, seamlessly!, (*1)

Vhost manager is a php command line tool to help you create virtual hosts for your new site., (*2)

Requirements

You must have php installed on your machine to use the tool., (*3)

Installation

Download the tool using composer, (*4)

composer global require therealsmat/vhost-manager, (*5)

After downloading,, (*6)

Usage

To list all available sites, run vhost sites, (*7)

To create a new site, run vhost new:site. You will be prompted to, (*8)

  • Enter the site domain name. This is the url you want to use to access your app e.g site1.local
  • Enter the document root. This is the path tp your project.
  • Enter a public directory. This is the directory inside which you want your apllication to be served from.

Do not confuse the public directory with the root directory. By default, the directory you are running the command from will be used as the default root directory. The public directory is the directory you want web requests to be served from. e.g site/public. Here, our root directory is site since it will contain all of our application code. However, we want all requests to be served from the public directory, so public will be our public directory., (*9)

To remove a site, run vhost delete:site, (*10)

Todo's

These features will be shipping soon;, (*11)

  • Change public directory
  • Use a different root directory
  • Serve site on a different port

License

MIT, (*12)

The Versions

20/04 2018

dev-master

9999999-dev

A command line tool to easily create and manage virtual hosts

  Sources   Download

MIT

The Requires

 

26/02 2018

v1.1.0

1.1.0.0

A command line tool to easily create and manage virtual hosts

  Sources   Download

MIT

The Requires

 

19/02 2018

dev-add-license-1

dev-add-license-1

A command line tool to easily create and manage virtual hosts

  Sources   Download

MIT

The Requires

 

19/02 2018

v1.0.0

1.0.0.0

A command line tool to easily create and manage virtual hosts

  Sources   Download

MIT

The Requires