Download the PHP package ernestdefoe/scribe without Composer

On this page you can find all versions of the php package ernestdefoe/scribe. 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 scribe

Scribe

A true WYSIWYG editor for Flarum 2 — TipTap, with no Markdown anywhere in the stack.

Both flarum/markdown and fof/rich-text can be uninstalled. Existing posts keep rendering exactly as they did, with no migration and no rewritten rows.

Why this exists

Every WYSIWYG editor for Flarum so far has been a rich editor sitting on top of Markdown: the document is serialised to Markdown on submit and re-parsed on load. That is why flarum/markdown is a hard dependency of fof/rich-text, and why Markdown syntax keeps leaking into a supposedly what-you-see-is-what-you-get experience — type **bold** and it turns bold, paste code with underscores and it turns italic.

Scribe removes the Markdown layer entirely. TipTap already speaks HTML natively, so dropping Markdown makes the pipeline simpler, not harder.

How your existing posts survive

Flarum stores posts as s9e TextFormatter XML, not as source text. The tag vocabulary in that XML — STRONG, EM, H2, LIST, LI, C … — belongs to s9e, not to Markdown. Markdown was only ever one parser feeding those tags.

Scribe emits the same vocabulary from HTML, and supplies templates for the tags flarum/markdown used to own. A post written years ago in Markdown and a post written today in Scribe are the same shape in the database and share one render path.

Uninstalling flarum/markdown without this would silently flatten every post you have: the text survives, every heading, bold, list and code span does not. That is not a warning drawn from theory — it is what happens, and it is the specific failure Scribe exists to prevent.

Where flarum/bbcode is enabled it keeps ownership of the tags it already provides (CODE, QUOTE, URL, IMG, LIST, LI, DEL, EMAIL), so syntax highlighting and quote citation are untouched.

Beyond Markdown

Because posts no longer have to be expressible in Markdown, Scribe adds what Markdown could not represent:

Build your own toolbar

Every feature is a chip you drag into the toolbar, in the order you want it. Nothing is forced on your members, and nothing you remove is still lurking behind a keyboard shortcut.

Keyboard users get the same control: Enter adds a feature, arrow keys move it, Delete removes it.

Performance

TipTap and ProseMirror are about 430KB. Bundling that into forum.js means every visitor downloads, parses and executes it on every page view — including guests who cannot post at all. That is what made earlier TipTap editors feel heavy.

Scribe loads the editor in a separate chunk, on first use:

Asset Size When it loads
forum.js 10 KiB every page
the editor chunk 431 KiB first time a composer opens

The toolbar also re-renders only when the set of active buttons actually changes, rather than on every keystroke.

Works with what you already run

Installation

Then disable flarum/markdown (and remove fof/rich-text, which Scribe conflicts with). Your existing posts will render exactly as before.

Requirements

Licence

MIT.


All versions of scribe with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
flarum/core Version ^2.0
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 ernestdefoe/scribe contains the following files

Loading the files please wait ...