Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elementor/wp2static
WordPress static site generator for security, performance and cost benefits
https://github.com/elementor/wp2static
github-page netlify security static-site-generator wordpress wordpress-plugin
Last synced: 27 days ago
JSON representation
WordPress static site generator for security, performance and cost benefits
- Host: GitHub
- URL: https://github.com/elementor/wp2static
- Owner: elementor
- License: unlicense
- Created: 2016-12-27T01:25:20.000Z (almost 8 years ago)
- Default Branch: develop
- Last Pushed: 2024-02-14T15:15:35.000Z (9 months ago)
- Last Synced: 2024-04-11T21:16:10.688Z (7 months ago)
- Topics: github-page, netlify, security, static-site-generator, wordpress, wordpress-plugin
- Language: PHP
- Homepage: https://wp2static.com
- Size: 19.7 MB
- Stars: 1,368
- Watchers: 28
- Forks: 250
- Open Issues: 97
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - elementor/wp2static - WordPress static site generator for security, performance and cost benefits (wordpress)
README
# 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
- 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)
## [Support Forum](https://staticword.press/c/wordpress-static-site-generators/wp2static/)
### Contributing
[See `CONTRIBUTING.md`](./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](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.