Download the PHP package matt-harvey/monkward without Composer

On this page you can find all versions of the php package matt-harvey/monkward. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package monkward

monkward

CI

It's 2026, and you’re drowning in Markdown files. You need a Markdown browser. One that:

Quick start

Prereqs

Install

make install builds a PHAR and puts it in ~/.local/bin (override with make install PREFIX=/somewhere). (You need to add that directory to your PATH if it isn’t already.) It also initializes ~/.config/monkward/ with an editable config.toml and the built-in light.css / dark.css themes.

Or install it globally as a Composer package:

(If Composer's global bin directory is not on your PATH, Composer will say so; add it and you're set.) For a single project, use composer require --dev matt-harvey/monkward and run vendor/bin/monkward.

Usage

Start the monkward server in your current directory, serving to localhost:8800:

Tell it to open in your default browser at the same time:

All the options:

Files are re-read on every request, so edits show up on refresh. Stop the server with Ctrl+C.

When opened in a directory, monkward renders a one-level file browser: directories first (click to descend), then files. Markdown files are highlighted and clickable; other file names are shown but not linked.

Themes and configuration

Installing monkward sets up ~/.config/monkward/ for you:

config.toml starts with the prebaked defaults. You can edit it freely:

light.css and dark.css are copied there so you can see and tweak them. Drop any other stylesheet next to them (yeah.css, etc.) and it shows up in the theme dropdown at the top of every page. The dropdown choice is remembered in your browser; theme in config.toml (or --theme=yeah for a single run) just picks the default when nothing has been chosen yet. Command-line flags override the config file.

heading_ids = true adds id="..." attributes to rendered headings so [links](#anchors) work. Set it to false to leave headings untouched.

How it works

monkward starts the built-in PHP web server, listening at localhost. It intercepts each request, using league/commonmark to convert any asked-for markdown files into HTML on the fly. substancephp/http and substancephp/container are used for templating and request handling. Some JavaScript is inlined to manage the theme selector.

Development

Pull requests and Issues are welcome.

License

MIT


All versions of monkward with dependencies

PHP Build Version
Package Version
Requires php Version >=8.5
league/commonmark Version ^2.6
substancephp/container Version ^0.6.2
substancephp/http Version ^0.7.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package matt-harvey/monkward contains the following files

Loading the files please wait ...