Recently i had to start a new web project, and like most people, i like the luxury of having to access my app on the browser with a domain name as such http://mysite.local. So i created a virtual host on my machine. I found that it took about 20 minutes of my time. What if we had a tool that could reduce the time to less than a minute, so we can just focus on building our apps and not worry too much about configurations? That's what this project addresses.
Vhost-manager is a command line tool that allows you create virtual hosts in seconds.
Download the project with composer
composer global require therealsmat/vhost-manager
This package has two major commands.
./vhost sites./vhost new:site. You will be prompted to provideBy default, vhost manager uses Port 80. It also used the current directory as the projects domain directory
This package was built in php using the popular symfony/console .
In a very near future,
You can send me a mail [email protected]