leonstafford/wp2static
Composer 安装命令:
composer require leonstafford/wp2static
包简介
Security & Performance via static website publishing.
README 文档
README
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!
Installation options
- from this source code
git clone https://github.com/wp2static/wp2static.git(runcomposer installafterwards) - via Composer
composer require wp2static/wp2static - get installer zip from wp2static.com
- compile your own installer zip from source code
Docs
Support Forum
Contributing
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.
leonstafford/wp2static 适用场景与选型建议
leonstafford/wp2static 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.11k 次下载、GitHub Stars 达 1.46k, 最近一次更新时间为 2020 年 11 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 leonstafford/wp2static 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 leonstafford/wp2static 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3.11k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1462
- 点击次数: 14
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: UNLICENSE
- 更新时间: 2020-11-04