PHPackages                             hasantayyar/myhosts - 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. hasantayyar/myhosts

ActiveProject

hasantayyar/myhosts
===================

A small tool to manage hosts entries

158[1 issues](https://github.com/hasantayyar/myhosts/issues)CSS

Since Jan 22Pushed 12y ago2 watchersCompare

[ Source](https://github.com/hasantayyar/myhosts)[ Packagist](https://packagist.org/packages/hasantayyar/myhosts)[ RSS](/packages/hasantayyar-myhosts/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

MyHosts is a tool to manage your hosts entries.

Installation
------------

[](#installation)

```
$ composer require hasantayyar/myhosts:dev-master

```

or add these lines to your composer.json

```
{
    "require": {
        "hasantayyar/myhosts": "dev-master"
    }
}

```

then run

```
$ composer update

```

Usage
-----

[](#usage)

Add a new hosts entry for hostname as mydev.host and ip address as 127.0.0.1

```
$ sudo myhosts add mydev.host

```

Add a new host entry for hostname as mydev.host and a custom ip address

```
$ sudo myhosts mydev.host add 193.5.5.1

```

Remove a host entry

```
$ sudo myhosts mydev.host delete 193.5.5.1

```

List host entries added by myhosts

```
$ sudo myhosts list

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c5ee5144fa8d20bbc0e3e7082e436801ac13810b90064750db57088bc65e0f43?d=identicon)[hasantayyar](/maintainers/hasantayyar)

---

Top Contributors

[![hasantayyar](https://avatars.githubusercontent.com/u/88295?v=4)](https://github.com/hasantayyar "hasantayyar (17 commits)")

### Embed Badge

![Health badge](/badges/hasantayyar-myhosts/health.svg)

```
[![Health](https://phpackages.com/badges/hasantayyar-myhosts/health.svg)](https://phpackages.com/packages/hasantayyar-myhosts)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
