PHPackages                             xltrace/static-mirror - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. xltrace/static-mirror

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

xltrace/static-mirror
=====================

Statically mirror (a subset of) your main website

v1.6.1(4y ago)05apache-2.0PHPPHP ^5.4 || ^7.0

Since May 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/xltrace/static-mirror)[ Packagist](https://packagist.org/packages/xltrace/static-mirror)[ RSS](/packages/xltrace-static-mirror/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (1)Versions (28)Used By (0)

Static Mirror
=============

[](#static-mirror)

A simple script which grabs a page (from e.g. wordpress), and its requirements, to populate a placeholder domain.

Installation
------------

[](#installation)

Place the `static-mirror.php`-file in the directory of the domain you wish to be a mirror.

`/static-mirror.php?for=` initializes all needed documents, like *.htaccess*, *static-mirror.json*, *cache/* and *patch/*

With an empty `?for=` or `initial` an rebuild is forced.

Configuration
-------------

[](#configuration)

`configure` lets you setup your static-mirror. It sets your secret token.

By use of the token you can `signin` and `signoff`, but also send encrypted Hermes-data.

Management
----------

[](#management)

`management` shows all modules.

### Upgrade

[](#upgrade)

`upgrade` will upgrade your local static-mirror installation.

### Update

[](#update)

`update` will update your cached mirror.

### Backup

[](#backup)

### Slaves

[](#slaves)

Your static-mirror can control other static-mirror's. You list the URIs as slaves.

#### `?all=true`

[](#alltrue)

You can `upgrade?all=true` and `update?all=true` and `status.json?all=true` for your local static-mirror and all slaves.

### Duplicate

[](#duplicate)

With use of the functionality `duplicate` you duplicate static-mirror to an other directory within your webserver. When you provide the URI, it will be added as slave.

### Decrypt

[](#decrypt)

status.json
-----------

[](#statusjson)

Each implementation of static-mirror has an `status.json` file.

Hermes
------

[](#hermes)

### remote.php

[](#remotephp)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~22 days

Recently: every ~78 days

Total

27

Last Release

1610d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16780798?v=4)[XLtrace](/maintainers/xltrace)[@xltrace](https://github.com/xltrace)

---

Top Contributors

[![sentfanwyaerda](https://avatars.githubusercontent.com/u/3115395?v=4)](https://github.com/sentfanwyaerda "sentfanwyaerda (88 commits)")

### Embed Badge

![Health badge](/badges/xltrace-static-mirror/health.svg)

```
[![Health](https://phpackages.com/badges/xltrace-static-mirror/health.svg)](https://phpackages.com/packages/xltrace-static-mirror)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
