WordPress static site generator for security, performance and cost benefits https://wp2static.com
Find a file
2023-01-01 22:58:42 +11:00
.github re #828 skip ext reqs for CI unit tests 2022-03-20 15:33:24 +11:00
integration-tests Upgrade test deps 2022-08-16 19:33:19 -05:00
nix Use niv to pin nix commits 2022-08-16 19:10:16 -05:00
src specify SplFileInfo type for iterated objects 2023-01-01 22:58:42 +11:00
tests re #828 skip ext reqs for CI unit tests 2022-03-20 15:33:24 +11:00
tools Use the more portable /usr/bin/env bash instead of /bin/bash 2021-10-21 20:21:24 -05:00
views fix paginator;search typing 2023-01-01 22:29:52 +11:00
.editorconfig Editorconfig 2021-09-22 17:40:01 -07:00
.envrc Add Nix files for reproducible builds 2021-10-21 20:20:53 -05:00
.gitignore Add clojure tooling dirs to .gitignore 2022-08-16 18:42:48 -05:00
CHANGELOG.md Add files in Divi's et-cache/ directory to detected vendor files 2022-08-29 19:36:39 -05:00
composer.json wp_mock ^0.4.2 -> ^0.5 2022-12-28 18:59:00 +11:00
composer.lock wp_mock ^0.4.2 -> ^0.5 2022-12-28 18:59:00 +11:00
CONTRIBUTING.md badges aren't a11y-friendly 2021-01-31 09:38:02 +10:00
default.nix Use niv to pin nix commits 2022-08-16 19:10:16 -05:00
LICENSE mv sys requirements checks to main view 2018-12-03 22:34:43 +08:00
phpstan.neon improve typing in ViewRenderer 2023-01-01 22:45:15 +11:00
phpunit.xml inject AssetDownloader dependency;allow WP mocks;update tests 2019-06-05 20:03:30 +07:00
README.md update README 2022-04-03 23:02:13 +10:00
uninstall.php mv dbDelta to activation area 2020-04-12 00:18:25 +09:30
wp2static.php Version 7.2.0-dev 2021-09-18 17:14:40 -05:00

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

Installation options

Docs

Support Forum

Contributing

See CONTRIBUTING.md

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. 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.