Simple CLI tool designed to simplify the process of creating and managing virtual host configurations on a local development environment. It provides a convenient way to set up virtual hosts for web projects, making it easier to access them through custom domain names.
- PHP 8.1+
- Composer or Docker
01 -) Clone:
$ git clone https://github.com/thiiagoms/phost02 -) Change to phost directory:
$ cd phost
phost $03 -) Install dependencies with composer package manager:
phost $ composer install01 -) Give phost permissions:
phost $ chmod +x phost02 -) Run phost with sudo:
phost $ ./phost
βββββββ βββ βββ βββββββ βββββββββββββββββ
βββββββββββ βββββββββββββββββββββββββββββ
βββββββββββββββββββ βββββββββββ βββ
βββββββ βββββββββββ βββββββββββ βββ
βββ βββ ββββββββββββββββββββ βββ
βββ βββ βββ βββββββ ββββββββ βββ
[*] Author: Thiago AKA thiiagoms
[*] Version: 1.1
>>> domain:
>>> extension: 01 -) Run lint:
phost $ composer phpcs02 -) Run tests:
phost $ composer test