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

ActiveLibrary

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

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

v2.0.0(4mo ago)1142MITPHPPHP ^8.2CI passing

Since Jan 19Pushed 4mo 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 1mo ago

READMEChangelog (6)Dependencies (8)Versions (7)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

42

—

FairBetter than 90% of packages

Maintenance75

Regular maintenance activity

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.7% 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 ~140 days

Recently: every ~176 days

Total

6

Last Release

137d 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 (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 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

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[wp-coding-standards/wpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

2.7k42.5M1.6k](/packages/wp-coding-standards-wpcs)[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[phpcompatibility/phpcompatibility-wp

A ruleset for PHP\_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.

21830.6M587](/packages/phpcompatibility-phpcompatibility-wp)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

3257.8M897](/packages/szepeviktor-phpstan-wordpress)

PHPackages © 2026

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