WordPress static site generator for security, performance and cost benefits https://wp2static.com
Find a file
amitay-elementor f06790a5e6
Update CONTRIBUTING.md
update links to elementor
2024-02-14 17:15:35 +02:00
.github Test against WordPress 6.1.1 2023-01-07 18:06:22 -06:00
css/admin serve Strattic logo from remote 2023-01-29 21:05:29 +11:00
integration-tests Test against WordPress 6.1.1 2023-01-07 18:06:22 -06:00
js/admin adjust UTM links 2023-01-29 18:17:58 +11:00
nix Upgrade nix deps and PHP versions 2023-01-07 17:56:33 -06:00
src filter $_SERVER vars 2023-02-01 00:51:42 +11:00
tests re #828 skip ext reqs for CI unit tests 2022-03-20 15:33:24 +11:00
tools incl. css/js in zips 2023-01-23 20:11:15 +11:00
views adjust UTM links 2023-01-29 18:17:58 +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 Don't ignore .htaccess files 2023-01-07 18:12:20 -06:00
CHANGELOG.md version -> 7.2 2023-02-01 01:03:10 +11:00
composer.json lock to phpunit 9.5.24 2023-02-01 00:42:54 +11:00
composer.lock lock to phpunit 9.5.24 2023-02-01 00:42:54 +11:00
CONTRIBUTING.md Update CONTRIBUTING.md 2024-02-14 17:15:35 +02: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 version -> 7.2 2023-02-01 01:03:10 +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.