Updates automatically your hosts file (Mac / Linux: /etc/hosts
- Windows: c:/Windows/System32/drivers/etc/hosts
) for example for local development.
Can run as deamon/service to watch special env-vars which shall be written to the hosts file. Or just run it as a normal command and pass the hostnames as an option.
composer config repositories.repo-name vcs https://github.com/smtxdev/hostmanager
composer require smtxdev/hostmanager:dev-master
./vendor/bin/hostmanager --hostnames example1.de,example2.de
./vendor/bin/hostmanager --help