display-hosts
![Software License][ico-license]
![Coverage Status][ico-scrutinizer]
![Total Downloads][ico-downloads], (*1)
Pretty print a table with the hosts file for the OS using PHP., (*2)
Installation
Via Composer, (*3)
Global
composer global require sevenecks/display-hosts
Local
composer require sevenecks/display-hosts
CLI Usage
Global Install
If you are on a system where the hosts file is located at /etc/hosts then you have no further configuration to do. If you are not, then you should go to the global composer directory, go into the vendor folder, copy the .env-example file to .env and edit it to point to your hosts file. Then you can proceed., (*4)
DisplayHosts
Local Install
If you are on a system where the hosts file is located at /etc/hosts then you have no further configuration to do. If you are not, then you should go into the vendor folder, copy the .env-example file to .env and edit it to point to your hosts file. Then you can proceed., (*5)
./vendor/bin/DisplayHosts
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details., (*6)
Security
If you discover any security related issues, please email bbutts@stormcode.net instead of using the issue tracker., (*7)
Credits
Change Log
Please see Change Log for more information., (*8)
License
The MIT License (MIT). Please see License File for more information., (*9)