PHPackages                             n5s/wp-symfony-local-server - 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. n5s/wp-symfony-local-server

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

n5s/wp-symfony-local-server
===========================

Fixes WordPress compatibility issues when running on Symfony Local Server with local domain names

v2.0.1(3w ago)1482MITPHPPHP ^8.2CI passing

Since Jan 19Pushed 3w ago1 watchersCompare

[ Source](https://github.com/nlemoine/wp-symfony-local-server)[ Packagist](https://packagist.org/packages/n5s/wp-symfony-local-server)[ RSS](/packages/n5s-wp-symfony-local-server/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (7)Dependencies (16)Versions (9)Used By (0)

WP Symfony Local Server
=======================

[](#wp-symfony-local-server)

Fixes WordPress compatibility issues when running on [Symfony Local Server](https://symfony.com/doc/current/setup/symfony_server.html) with local domains (`.wip`).

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

[](#installation)

```
composer require n5s/wp-symfony-local-server --dev
```

That's it. The library auto-detects Symfony Local Server and registers the necessary hooks.

What it fixes
-------------

[](#what-it-fixes)

ProblemSolutionSelf-requests fail (SSL errors, unresolved `.wip` TLD)Routes them through Symfony's proxy with proper certificates`/wp-admin/` causes redirect loopsRewrites to `/wp-admin/index.php` ([why?](https://github.com/symfony-cli/symfony-cli/issues/237))Redirect caching issuesUses HTTP 302 instead of 301 for admin redirectsHow it works
------------

[](#how-it-works)

The library only activates when it detects Symfony Local Server (via `SERVER_SOFTWARE` header or `~/.symfony5/proxy.json` config). It then:

1. Sets `WP_PROXY_HOST` and `WP_PROXY_PORT` to route internal requests through Symfony's proxy
2. Provides Symfony's root CA certificate for SSL verification
3. Hooks into `admin_url` and `redirect_canonical` to fix admin URL handling

Requirements
------------

[](#requirements)

- PHP 8.2+
- Symfony CLI with local proxy configured

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance94

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 69.6% 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 ~145 days

Recently: every ~217 days

Total

7

Last Release

25d ago

Major Versions

v1.2.0 → v2.0.02025-12-24

PHP version history (2 changes)v1.0.1PHP ^8.0

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/62f16c9d375343e12eb02b2a3095dc9a02047287b5f12f75ef4c59929fcb2802?d=identicon)[n5s](/maintainers/n5s)

---

Top Contributors

[![nlemoine](https://avatars.githubusercontent.com/u/2526939?v=4)](https://github.com/nlemoine "nlemoine (16 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

---

Tags

wordpressdevelopmentsymfony clilocal-server

###  Code Quality

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/n5s-wp-symfony-local-server/health.svg)

```
[![Health](https://phpackages.com/badges/n5s-wp-symfony-local-server/health.svg)](https://phpackages.com/packages/n5s-wp-symfony-local-server)
```

###  Alternatives

[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

20416.0M415](/packages/php-stubs-wordpress-stubs)[bostondv/bootstrap-ninja-forms

Adds Bootstrap classes to Ninja Forms

222.2k](/packages/bostondv-bootstrap-ninja-forms)

PHPackages © 2026

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