mlo / simple-wiki
Simple database-less wiki
Requires
- php: >=5.3.0
- illuminate/filesystem: 4.1
- ircmaxell/password-compat: 1.*
- michelf/php-markdown: 1.4.0
- mnapoli/front-yaml: 1.0.2
- silex/silex: 1.*
- symfony/twig-bridge: ~2.3
- twig/twig: 1.*
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.