WordPress static site generator for security, performance and cost benefits https://wp2static.com
Find a file
2023-01-05 19:11:54 +11:00
.github re #828 skip ext reqs for CI unit tests 2022-03-20 15:33:24 +11:00
css/admin add extra link on Plugins page entry 2023-01-05 19:11:54 +11:00
integration-tests Upgrade test deps 2022-08-16 19:33:19 -05:00
js/admin add Strattic link in sidebar 2023-01-04 20:20:05 +11:00
nix Use niv to pin nix commits 2022-08-16 19:10:16 -05:00
src add extra link on Plugins page entry 2023-01-05 19:11:54 +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 add Strattic link in sidebar 2023-01-04 20:20:05 +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 bump phpstan, dependencies 2023-01-04 12:03:26 +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 adjust typing 2023-01-04 13:50:11 +11:00
phpunit.xml inject AssetDownloader dependency;allow WP mocks;update tests 2019-06-05 20:03:30 +07:00
README.md update repo org refs to wp2static 2023-01-01 23:04:34 +11:00
uninstall.php mv dbDelta to activation area 2020-04-12 00:18:25 +09:30
wp2static.php update plugin author to WP2Static by Elementor 2023-01-05 18:49:41 +11: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.