PHPackages                             andrewminion/wordpress-multisite-subdirectory-valet-driver - 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. andrewminion/wordpress-multisite-subdirectory-valet-driver

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

andrewminion/wordpress-multisite-subdirectory-valet-driver
==========================================================

A custom driver for Laravel Valet that adds compatibility for WordPress multisite installs that use the subdirectory configuration.

2.1.0(3y ago)141311[1 PRs](https://github.com/macbookandrew/WordPressMultisiteSubdirectoryValetDriver/pulls)AGPL-3.0-or-laterPHP

Since Mar 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/macbookandrew/WordPressMultisiteSubdirectoryValetDriver)[ Packagist](https://packagist.org/packages/andrewminion/wordpress-multisite-subdirectory-valet-driver)[ RSS](/packages/andrewminion-wordpress-multisite-subdirectory-valet-driver/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

WordPress Multisite Subdirectory Valet Driver
=============================================

[](#wordpress-multisite-subdirectory-valet-driver)

A custom driver for [Laravel Valet](https://laravel.com/docs/master/valet) that adds compatibility for WordPress multisite installs that use the subdirectory configuration.

Compatibility
-------------

[](#compatibility)

Valet VersionDriver Version3.x1.x4.x2.xInstallation (Composer)
-----------------------

[](#installation-composer)

1. `composer global require andrewminion/wordpress-multisite-subdirectory-valet-driver`
2. `cp $(composer global config home)/vendor/andrewminion/wordpress-multisite-subdirectory-valet-driver/WordPressMultisiteSubdirectoryValetDriver.php ~/.config/valet/Drivers`
3. Make sure your wp-config.php file has at least one of `WP_ALLOW_MULTISITE` or `MULTISITE` constants defined.
4. Celebrate the pain you just avoided!

Installation (Manual)
---------------------

[](#installation-manual)

1. Clone this repo
2. `cp WordPressMultisiteSubdirectoryValetDriver.php ~/.config/valet/Drivers`
3. Make sure your wp-config.php file has at least one of `WP_ALLOW_MULTISITE` or `MULTISITE` constants defined.
4. Celebrate the pain you just avoided!

Installs with WordPress root files in a subdirectory
----------------------------------------------------

[](#installs-with-wordpress-root-files-in-a-subdirectory)

If your install has WordPress root files in a subdirectory (such as a submodule), simply change the class property `$wp_root` from false to the root directory name.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

1159d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8000952fbb17623ad6e2d3a001b3a0af97ff301436b1db33287522e9d073cd0b?d=identicon)[macbookandrew](/maintainers/macbookandrew)

---

Top Contributors

[![clifgriffin](https://avatars.githubusercontent.com/u/682201?v=4)](https://github.com/clifgriffin "clifgriffin (7 commits)")[![macbookandrew](https://avatars.githubusercontent.com/u/784333?v=4)](https://github.com/macbookandrew "macbookandrew (7 commits)")[![andrewminion-luminfire](https://avatars.githubusercontent.com/u/47227887?v=4)](https://github.com/andrewminion-luminfire "andrewminion-luminfire (5 commits)")

### Embed Badge

![Health badge](/badges/andrewminion-wordpress-multisite-subdirectory-valet-driver/health.svg)

```
[![Health](https://phpackages.com/badges/andrewminion-wordpress-multisite-subdirectory-valet-driver/health.svg)](https://phpackages.com/packages/andrewminion-wordpress-multisite-subdirectory-valet-driver)
```

###  Alternatives

[soup/paginator

Paginator is a simple class that allows you to create pagination. It doesn't require any database connection. It is compatible with Twitter's Bootstrap Framework, by using the CSS class pagination that is also attached.

351.5k](/packages/soup-paginator)

PHPackages © 2026

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