Skip to content

sevenecks/display-hosts

Repository files navigation

display-hosts

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.

About

Pretty print the OS hosts file using PHP and Tableify

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages