PHPackages                             crivion/autogenerate-vhosts-osx - 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. [CLI &amp; Console](/categories/cli)
4. /
5. crivion/autogenerate-vhosts-osx

ActiveLibrary[CLI &amp; Console](/categories/cli)

crivion/autogenerate-vhosts-osx
===============================

Manage local virtual hosts on your mac os machine via php-cli

00PHP

Since Oct 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/crivion/autogenerate-vhosts-osx)[ Packagist](https://packagist.org/packages/crivion/autogenerate-vhosts-osx)[ RSS](/packages/crivion-autogenerate-vhosts-osx/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

autogenerate-vhosts-osx
=======================

[](#autogenerate-vhosts-osx)

Autogenerate local machine vhost (mac osx)

Autogenerate local vhosts for mac os x
======================================

[](#autogenerate-local-vhosts-for-mac-os-x)

- PHP-cli tool
- Site Directories must end in .local to be picked up
- example /path/site.local will become

```
define('SITES_PATH', '/Users/your-user/Sites');
define('VHOSTS_FILE', '/etc/apache2/extra/httpd-vhosts.conf');
define('HOSTS_FILE', '/etc/hosts');

```

Usage (must be super user):
===========================

[](#usage-must-be-super-user)

`sudo php index.php`

PHP-Cli Output Example
======================

[](#php-cli-output-example)

[![Alt text](https://camo.githubusercontent.com/6f48e67248f75d10c08fd57999443f5d594c552c53a389a74b825ef61a497d44/68747470733a2f2f692e706f7374696d672e63632f5871346b633368732f53637265656e73686f742d323032302d31302d32392d61742d31362d34312d32302e706e67)](https://camo.githubusercontent.com/6f48e67248f75d10c08fd57999443f5d594c552c53a389a74b825ef61a497d44/68747470733a2f2f692e706f7374696d672e63632f5871346b633368732f53637265656e73686f742d323032302d31302d32392d61742d31362d34312d32302e706e67)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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://avatars.githubusercontent.com/u/15253384?v=4)[Crivion](/maintainers/crivion)[@crivion](https://github.com/crivion)

---

Top Contributors

[![crivion](https://avatars.githubusercontent.com/u/15253384?v=4)](https://github.com/crivion "crivion (9 commits)")

### Embed Badge

![Health badge](/badges/crivion-autogenerate-vhosts-osx/health.svg)

```
[![Health](https://phpackages.com/badges/crivion-autogenerate-vhosts-osx/health.svg)](https://phpackages.com/packages/crivion-autogenerate-vhosts-osx)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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