PHPackages                             dgtlmoon/embeddedwiki - 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. dgtlmoon/embeddedwiki

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

dgtlmoon/embeddedwiki
=====================

An ultra-light PHP/JS micro-wiki tool for those who wish to embed a wiki into an existing page and only need a limited feature set.

v1.0.0(5y ago)210MITPHPPHP &gt;=7.1.0

Since Jan 6Pushed 5y ago2 watchersCompare

[ Source](https://github.com/dgtlmoon/embeddedwiki)[ Packagist](https://packagist.org/packages/dgtlmoon/embeddedwiki)[ Docs](https://github/dgtlmoon/embeddedwiki)[ RSS](/packages/dgtlmoon-embeddedwiki/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

EmbeddedWiki
------------

[](#embeddedwiki)

An ultra-light PHP/JS micro-wiki tool for those who wish to embed a wiki into an existing page and only need a limited feature set.

*Note*: At the moment this is more an experiment to discover what's the least amount of code to implement such a feature, but your suggestions/pull requests are welcome!

### Features

[](#features)

- Does not require any front end build tools.
- Uses `ezyang/HTMLPurifier` for the input/output santising.
- Uses HTML5 `contentEditable` for editing.
- Uses pure inline JavaScript for all functionality.

Completely untested on several browsers :)

### Installation

[](#installation)

Requires SQLite support for versioning. (Hopefully make this extensible for other formats in the future)

Install [the composer package](https://packagist.org/packages/dgtlmoon/embeddedwiki).

### Example

[](#example)

- Simply drop it into the page where you need a quick wiki!
- Change `/writeable/path/to/sqlitedbs` to a path that your web-server can read/write from.
- Change that same path in the update `receiver.php`

```
$page_name = "some identifier";
require __DIR__ . '/vendor/autoload.php';
$wiki = new Embeddedwiki($page_name, "/writeable/path/to/sqlitedbs");
print $wiki->render();
```

### Security

[](#security)

All input/output is passed via `ezyang/HTMLPurifier`

### Future

[](#future)

- Add tests
- Expose a list of revision IDs, click to show that revision or revert
- Record IP/date/time/etc
- Cleaner OO, abstract storage etc

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1949d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb83b42e3b8e9cf6a7b1b7b7b95f7ae6161b1af74defa1a3a8f1d506e314f996?d=identicon)[dgtlmoon](/maintainers/dgtlmoon)

---

Top Contributors

[![dgtlmoon](https://avatars.githubusercontent.com/u/275001?v=4)](https://github.com/dgtlmoon "dgtlmoon (3 commits)")

---

Tags

phpwysiwygwikimicro-wikicontentEditor

### Embed Badge

![Health badge](/badges/dgtlmoon-embeddedwiki/health.svg)

```
[![Health](https://phpackages.com/badges/dgtlmoon-embeddedwiki/health.svg)](https://phpackages.com/packages/dgtlmoon-embeddedwiki)
```

###  Alternatives

[trsteel/ckeditor-bundle

Symfony bundle for easy integration of the CKEditor WYSIWYG

99630.9k9](/packages/trsteel-ckeditor-bundle)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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