sevenecks/display-hosts

pretty print the hosts file for the os

0.0.4 2018-04-11 17:19 UTC

This package is auto-updated.

Last update: 2024-11-13 12:13:36 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Pretty print a table with the hosts file for the OS using PHP.

Installation

Via Composer

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.

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.

./vendor/bin/DisplayHosts

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email bbutts@stormcode.net instead of using the issue tracker.

Credits

Change Log

Please see Change Log for more information.

License

The MIT License (MIT). Please see License File for more information.