PHPackages                             leonstafford/wp2static - 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. [Caching](/categories/caching)
4. /
5. leonstafford/wp2static

ActiveWordpress-plugin[Caching](/categories/caching)

leonstafford/wp2static
======================

Security &amp; Performance via static website publishing.

7.2(3y ago)1.5k3.1k291[96 issues](https://github.com/elementor/wp2static/issues)[4 PRs](https://github.com/elementor/wp2static/pulls)UNLICENSEPHPPHP &gt;=7.4CI passing

Since Jul 19Pushed 2y ago25 watchersCompare

[ Source](https://github.com/elementor/wp2static)[ Packagist](https://packagist.org/packages/leonstafford/wp2static)[ Docs](https://wp2static.com)[ RSS](/packages/leonstafford-wp2static/feed)WikiDiscussions develop Synced 1w ago

READMEChangelog (5)Dependencies (14)Versions (23)Used By (0)

WP2Static
=========

[](#wp2static)

A WordPress plugin for static site generation and deployment.

**Latest: WP2Static joins Strattic, the leading WordPress to headless and static site end-to-end publishing platform!**

Strattic is generously keeping the WP2Static plugin available and maintained for open source users!

[Read Announcement](https://www.strattic.com/wp2static-joins-strattic/)

Installation options
--------------------

[](#installation-options)

- from this source code `git clone https://github.com/wp2static/wp2static.git` (run `composer install` afterwards)
- via [Composer](https://github.com/composer/composer) `composer require wp2static/wp2static`
- get installer zip from [wp2static.com](https://wp2static.com/download/)
- [compile your own installer zip from source code](https://wp2static.com/compiling-from-source/)

[Docs](https://wp2static.com)
-----------------------------

[](#docs)

[Support Forum](https://staticword.press/c/wordpress-static-site-generators/wp2static/)
---------------------------------------------------------------------------------------

[](#support-forum)

### Contributing

[](#contributing)

[See `CONTRIBUTING.md`](./CONTRIBUTING.md)

### Testing

[](#testing)

WP2Static includes various types of code quality and functionality tests.

Tests are defined as Composer scripts within the `composer.json` file.

`composer run-script test` will run the main linting, static analysis and unit tests. It will not run code coverage by default. To run code coverage, use `composer run-script coverage`, this will require XDebug installed.

`composer run-script test-integration` will run end to end tests. This requires that you have the `nix-shell` command available from [NixOS](https://nixos.org/download.html). More info on the intgration tests can be found in the README within the `integration-tests` directory.

You can run individual test stages by specifying any of the defined scripts within `composer.json` with a command like `composer run-script phpunit`. You can pass arguments, such as to skip slow external request making phpunit tests, run `composer run-script phpunit -- --exclude-group ExternalRequests`.

Continuous Integration is provided by GitHub Actions, which run code quality, unit and end to end tests.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community34

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 65.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 ~163 days

Recently: every ~203 days

Total

6

Last Release

1203d ago

PHP version history (2 changes)7.1.2PHP &gt;=7.3

7.2PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d907fff87e1c39ba7025379dbe0218b62a52da4e0d0561bbb34596623257438?d=identicon)[ljsdotdev](/maintainers/ljsdotdev)

---

Top Contributors

[![leonstafford](https://avatars.githubusercontent.com/u/2066833?v=4)](https://github.com/leonstafford "leonstafford (746 commits)")[![john-shaffer](https://avatars.githubusercontent.com/u/53870456?v=4)](https://github.com/john-shaffer "john-shaffer (156 commits)")[![bookwyrm](https://avatars.githubusercontent.com/u/4792?v=4)](https://github.com/bookwyrm "bookwyrm (66 commits)")[![Flynsarmy](https://avatars.githubusercontent.com/u/334808?v=4)](https://github.com/Flynsarmy "Flynsarmy (60 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (30 commits)")[![fromcouch](https://avatars.githubusercontent.com/u/3542570?v=4)](https://github.com/fromcouch "fromcouch (12 commits)")[![utchy](https://avatars.githubusercontent.com/u/14010896?v=4)](https://github.com/utchy "utchy (11 commits)")[![sgerlach](https://avatars.githubusercontent.com/u/4514084?v=4)](https://github.com/sgerlach "sgerlach (7 commits)")[![palmiak](https://avatars.githubusercontent.com/u/2342458?v=4)](https://github.com/palmiak "palmiak (7 commits)")[![Semonxue](https://avatars.githubusercontent.com/u/372518?v=4)](https://github.com/Semonxue "Semonxue (6 commits)")[![fransallen](https://avatars.githubusercontent.com/u/16480581?v=4)](https://github.com/fransallen "fransallen (5 commits)")[![patrickdk77](https://avatars.githubusercontent.com/u/8078633?v=4)](https://github.com/patrickdk77 "patrickdk77 (3 commits)")[![stefanullinger](https://avatars.githubusercontent.com/u/2063870?v=4)](https://github.com/stefanullinger "stefanullinger (3 commits)")[![stefan-b314](https://avatars.githubusercontent.com/u/2063870?v=4)](https://github.com/stefan-b314 "stefan-b314 (3 commits)")[![janicak](https://avatars.githubusercontent.com/u/2185903?v=4)](https://github.com/janicak "janicak (3 commits)")[![JTS-FIN](https://avatars.githubusercontent.com/u/3187165?v=4)](https://github.com/JTS-FIN "JTS-FIN (3 commits)")[![limmlingg](https://avatars.githubusercontent.com/u/19278516?v=4)](https://github.com/limmlingg "limmlingg (2 commits)")[![hikarine3](https://avatars.githubusercontent.com/u/197538?v=4)](https://github.com/hikarine3 "hikarine3 (2 commits)")[![ynhiox](https://avatars.githubusercontent.com/u/59242656?v=4)](https://github.com/ynhiox "ynhiox (1 commits)")[![CameronVetter](https://avatars.githubusercontent.com/u/7763701?v=4)](https://github.com/CameronVetter "CameronVetter (1 commits)")

---

Tags

strattic

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/leonstafford-wp2static/health.svg)

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

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)

PHPackages © 2026

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