PHPackages                             abo3adel/vhost - 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. abo3adel/vhost

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

abo3adel/vhost
==============

create virtual hosts with xampp

v1.2.0(6y ago)310MITPHPPHP ^7.3

Since Sep 10Pushed 6y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (6)Used By (0)

💻 Virtual Hosts Cli
===================

[](#computer-virtual-hosts-cli)

Create Virtual Hosts for apache with one click

🔧 Installation
--------------

[](#wrench-installation)

Install with Composer as global for best perfomance

```
composer global require abo3adel/vhost

```

#### ❗ Reqirements:

[](#heavy_exclamation_mark-reqirements)

- php: 7.3 or newer
- symfony/console: 3.4.23

✨ Usage
-------

[](#sparkles-usage)

**❗ Note:** Run as Administrator

[![trailer image](https://github.com/abo3adel/vhost/raw/master/trailer.gif)](https://github.com/abo3adel/vhost/blob/master/trailer.gif)

There are two ways:

### 📠 Options Way:

[](#fax-options-way)

```
C:\xampp\htdocs\project> vhost add -s "project.test"
Creating Virtual Host From this data
========================================

------------------------------------------------------------
ServerName              project.test
------------------------------------------------------------
DocumentRoot            "C:\xampp\htdocs\project"
------------------------------------------------------------
ServerAdmin
------------------------------------------------------------
ServerAlias
------------------------------------------------------------
ErrorLog                ""
------------------------------------------------------------
CustomLog               ""
------------------------------------------------------------

Existing Application, GoodBuy.
```

#### All Avaliable options:

[](#all-avaliable-options)

- add \[-s|--server **\[Server Name\]**\] **\[Required\]**
- \[-d|--dir \[Path to Server Directory\]\] **\[Optinal\]** Defaults to **CurrentDirectory**
- \[-a|--admin **\[Admin Email\]**\] **\[Optinal\]**
- \[-l|--alias **\[Server Alias\]**\] **\[Optinal\]**
- \[-e|--error-log **\[Error Log\]**\] **\[Optinal\]**
- \[-c|--custom-log **\[Custom Log\]**\] **\[Optinal\]**

```
    C:\xampp\htdocs\project> vhost add -s "project.test" -d "C:\xampp\htdocs\someOtherApp" -a "example@some.com" -l "dev.preoject.test" -e "path/to/error/file.log" -c "path/to/custom/file.log"
```

---

### 🎁 Interactive Mode:

[](#gift-interactive-mode)

```
C:\xampp\htdocs\project> vhost i

Creating Virutal Host From this data
====================================

 Server Name ["project.com"]:
 >

 Server Directory ["C:\xampp\htdocs\project"]:
 >

 Server Admin Email []:
 >

 Server Alias []:
 >

 Error Log File []:
 >

 Custom Log File []:
 >
```

TODO:
-----

[](#todo)

- support linux and macOs

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

2439d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/52ecaa69a122511101c45874afd50f8d440660576dbb4e536b9b9c9340fcaf21?d=identicon)[abo3adel](/maintainers/abo3adel)

---

Top Contributors

[![ahmdadl](https://avatars.githubusercontent.com/u/13654841?v=4)](https://github.com/ahmdadl "ahmdadl (55 commits)")

---

Tags

clicli-appcomposerhostshosts-filephp7symfony-consolevirtual-hostswindowsxammp

### Embed Badge

![Health badge](/badges/abo3adel-vhost/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[phpcr/phpcr-shell

Shell for PHPCR

721.3M8](/packages/phpcr-phpcr-shell)[madewithlove/license-checker

CLI tool to verify allowed licenses for composer dependencies

54449.8k21](/packages/madewithlove-license-checker)[shel/neos-terminal

Neos CMS Ui terminal for running Eel expressions and other commands

1441.3k](/packages/shel-neos-terminal)

PHPackages © 2026

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