mlo/simple-wiki

This package is abandoned and no longer maintained. No replacement package was suggested.

Simple database-less wiki

v1.0.0 2014-05-10 03:18 UTC

This package is auto-updated.

Last update: 2023-02-16 04:58:33 UTC


README

Simple Wiki is a database-less wiki. It renders pages from Markdown and allows you to add and edit pages from the web application.

Installing

If you have Composer installed you can use the create-project command to install Simple Wiki.

composer create-project mlo/simple-wiki path/to/project

Configuring

Simple Wiki allows you to edit your pages through the web application if an user is logged in. Users are defined in index.php.

$app['users'] = array(
    'username' => 'bcrypted password',
);

To generate a bcrypted password run php index.php genpass [password].

Pages

Pages are stored in app/content, but can be changed using the contentDir setting. These pages are Markdown files with support for YAML Front Matter.

---
title: Page Title
---
Page content

Hacking

Simple Wiki is built using Silex and Twig and can be modified to fit your needs.

If you add something cool, create a pull request for it.