PHPackages                             arispati/phpdev - 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. arispati/phpdev

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

arispati/phpdev
===============

A more enjoyable local development experience for Linux and WSL on Windows.

v1.0.0(1y ago)05MITPHPPHP ^8.3

Since Dec 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/arispati/phpdev)[ Packagist](https://packagist.org/packages/arispati/phpdev)[ RSS](/packages/arispati-phpdev/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

PhpDev
======

[](#phpdev)

PhpDev is a local PHP development environment inspired by [Laravel Valet](https://github.com/laravel/valet) for Linux and WSL on Windows.

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

[](#installation)

> PhpDev requires Linux or WSL on Windows with Ubuntu OS, [Nginx](https://nginx.org) and [Homebrew](https://brew.sh).
>
> Before installation, you should make sure that no other programs such as Apache that binding to your local machine's port 80.

To get started, you first need to ensure that Homebrew is up to date using the `update` command:

```
brew update
```

Next, you should use Homebrew to install PHP:

```
brew install php
```

After installing PHP, you are ready to install the [Composer package manager](https://getcomposer.org). After Composer has been installed, you may install PhpDev as a global Composer package:

```
composer global require arispati/phpdev
```

> Make sure the `$HOME/.config/composer/vendor/bin` directory is in your system's "PATH".

Finally, you may execute PhpDev's install command. This will configure and install PhpDev services. In addition, the daemons PhpDev depends on will be configured to launch when your system starts:

```
phpdev install
```

Upgrading
---------

[](#upgrading)

You may update your PhpDev installation by executing the `composer global require arispati/phpdev` command in your terminal. After upgrading, it is good practice to run the `phpdev install` command so PhpDev can make additional upgrades to your configuration files if necessary.

Commands
--------

[](#commands)

CommandDescriptioninstallInstall PhpDev servicesstartStart PhpDev servicesstopStop PhpDev servicesrestartRestart PhpDev serviceslinksShow all linked sites[link](#link-command)Link the current working directory[proxy](#proxy-command)Add proxy site[unlink](#unlink-command)Unlink site[switch](#switch-command)Switch PHP version for the sitelistDisplay a list of all commands### Link Command

[](#link-command)

`phpdev link [path] [-s|--site=] [-p|--php=]`

ArgumentsDescriptionDefaultpathRoot directory path for the siteCurrent directory path-s, --siteSite nameCurrent directory name-p, --phpWhich php version to useCurrent php versionExample:

```
phpdev link public -s laravel -p 8.4
```

> Link `laravel.test` with `public` folder as web root directory

ℹ️ You still have to add `laravel.test` to the `hosts` file on windows

### Proxy Command

[](#proxy-command)

`phpdev proxy site destination`

ArgumentsDescriptionsiteSite namedestinationProxy destinationExample:

```
phpdev proxy laravel http://127.0.0.1:8000
```

> Proxy `laravel.test` to `http://127.0.0.1:8000`

### Unlink Command

[](#unlink-command)

`phpdev unlink site`

ArgumentsDescriptionsiteSite nameExample:

```
phpdev unlink laravel
```

> Remove `laravel.test`

### Switch command

[](#switch-command)

`phpdev switch site php`

ArgumentsDescriptionsiteSite namephpPHP versionExample:

```
phpdev switch laravel 8.4
```

> Switch php version of `laravel.test` to `PHP 8.4`

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance44

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

529d ago

### Community

Maintainers

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

---

Top Contributors

[![arispati](https://avatars.githubusercontent.com/u/13604647?v=4)](https://github.com/arispati "arispati (33 commits)")

### Embed Badge

![Health badge](/badges/arispati-phpdev/health.svg)

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

###  Alternatives

[laravel/valet

A more enjoyable local development experience for Mac.

2.6k911.9k13](/packages/laravel-valet)[illuminate/events

The Illuminate Events package.

13454.3M1.8k](/packages/illuminate-events)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[illuminate/broadcasting

The Illuminate Broadcasting package.

7126.5M178](/packages/illuminate-broadcasting)[cretueusebiu/valet-windows

A more enjoyable local development experience for Windows.

920115.0k](/packages/cretueusebiu-valet-windows)[genesisweb/valet-linux-plus

Advanced local development experience for Linux.

18215.3k](/packages/genesisweb-valet-linux-plus)

PHPackages © 2026

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