PHPackages                             tentapress/static-deploy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. tentapress/static-deploy

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

tentapress/static-deploy
========================

v0.6.0(3mo ago)015MITPHPPHP ^8.2

Since Jan 29Pushed 3mo agoCompare

[ Source](https://github.com/tentaplane/plugin-static-deploy)[ Packagist](https://packagist.org/packages/tentapress/static-deploy)[ RSS](/packages/tentapress-static-deploy/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

Static Deploy
=============

[](#static-deploy)

Static site generation for TentaPress.

Plugin Details
--------------

[](#plugin-details)

FieldValueID`tentapress/static-deploy`Version0.6.0Provider`TentaPress\StaticDeploy\StaticDeployServiceProvider`Features
--------

[](#features)

- Generate static HTML for all pages and posts
- Include theme assets (CSS/JS)
- Generate sitemap.xml and robots.txt
- Generate 404.html
- Download as ZIP archive
- Run saved find/replace rules on staged export files before zipping
- Review and download stored export archives from the admin screen
- Use a balanced two-column admin layout on larger screens
- Present stored exports in a simpler, scan-friendly history list

Dependencies
------------

[](#dependencies)

None.

Admin Menu
----------

[](#admin-menu)

LabelRouteCapabilityPositionParentStatic Deploy`tp.static.index``deploy_static`100SettingsOutput
------

[](#output)

The generated ZIP contains:

- Pre-rendered HTML files
- Theme assets
- `sitemap.xml`
- `robots.txt`
- `404.html`

Replacement Rules
-----------------

[](#replacement-rules)

Static Deploy can persist reusable find/replace rules in the admin UI and apply them to the staged export right before the ZIP archive is created.

- Rules are stored as JSON in plugin settings.
- Each rule requires `find` and `replace` values.
- Optional `files` glob patterns limit which exported files are touched.
- If `files` is omitted, Static Deploy targets text-like files such as `*.html`, `*.xml`, `*.txt`, `*.css`, `*.js`, and `*.json`.
- The admin screen includes quick actions to load a working example payload or reset the saved rules to `[]`.

Example:

```
[
    {
        "find": "
