PHPackages                             northern-lights/hostsfile-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. northern-lights/hostsfile-parser

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

northern-lights/hostsfile-parser
================================

Hosts file parser

13[1 PRs](https://github.com/N0rthernL1ghts/hosts-parser/pulls)PHPCI passing

Since Mar 29Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/N0rthernL1ghts/hosts-parser)[ Packagist](https://packagist.org/packages/northern-lights/hostsfile-parser)[ RSS](/packages/northern-lights-hostsfile-parser/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Hosts file parser
=================

[](#hosts-file-parser)

[![Maintainability](https://camo.githubusercontent.com/12d427e56a4d571d5b115b8a3b314b25069edb429aa9bfe48fb2a57bceba391c/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f30356334656233613365346339666462396238332f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/N0rthernL1ghts/hosts-parser/maintainability)

Lightweight and simple library for parsing [hosts file](https://en.wikipedia.org/wiki/Hosts_(file)). All operating systems that use this format are supported.

Install
-------

[](#install)

Via Composer

```
$ composer require northern-lights/hostsfile-parser
```

It really is that easy!

Usage
-----

[](#usage)

```
