Download the PHP package s9e/text-formatter without Composer
On this page you can find all versions of the php package s9e/text-formatter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download s9e/text-formatter
More information about s9e/text-formatter
Files in s9e/text-formatter
Package text-formatter
Short Description Multi-purpose text formatting and markup library. Plugins offer support for BBCodes, Markdown, emoticons, HTML, embedding third-party media (YouTube, etc...), enhanced typography and more.
License MIT
Homepage https://github.com/s9e/TextFormatter/
Informations about the package text-formatter
Overview
s9e\TextFormatter is a text formatting library that supports BBCode, Markdown, HTML and other markup via plugins. The library is written in PHP, with a JavaScript port also available for client-side preview (see below.)
Installation
The best way to install s9e\TextFormatter is via Composer. See Installation.
Examples
If you can only read one example, read how to use a bundle.
You can run the scripts directly from the examples directory and you will find in the manual a description of each plugin as well as other examples.
Versioning
Versioning is meant to follow Semantic Versioning. You can read about API changes in the documentation.
Online demo
You can try the JavaScript version in this BBCodes + other stuff demo, or this Markdown + stuff (Fatdown) demo.
Development tools
The following tools are used during development.
- phpunit/phpunit 9.6.20 runs a full suite of tests before every commit.
- code-lts/doctum 5.5.4 generates the API docs.
- Scrutinizer is used for code tracking.
All versions of text-formatter with dependencies
ext-dom Version *
ext-filter Version *
lib-pcre Version >=8.13
s9e/regexp-builder Version ^1.4
s9e/sweetdom Version ^3.4