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