Download the PHP package rockett/textformatter-typographer without Composer
On this page you can find all versions of the php package rockett/textformatter-typographer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rockett/textformatter-typographer
More information about rockett/textformatter-typographer
Files in rockett/textformatter-typographer
Package textformatter-typographer
Short Description Typographer is a ProcessWire wrapper for the awesome PHP Typography package.
License MIT
Informations about the package textformatter-typographer
Typographer for ProcessWire
Typographer is a ProcessWire wrapper for the awesome PHP Typography class, originally authored by KINGdesk LLC and enhanced by Peter Putzer for wp-Typography. Like Smartypants, it supercharges text fields with enhanced typography and typesetting, such as smart quotations, hyphenation in 59 languages, ellipses, copyright-, trade-, and service-marks, math symbols, and more.
Install
The module may be installed via the modules directory by searching for TextformatterTypographer.
Or, you can use Composer:
Usage
To use Typographer, simply apply the text formatter on a field as you usually would.
If you are interacting with content that does not form part of the normal ProcessWire page system, such as fetching content from an external source, you can make use of the formatString
method on the module class:
Configuration
This module is configurable. Feel free to visit the configuration page to see what can be toggled and configured.
To modify the instance of Typographer's settings class programatically, hook into the customTypographerSettings
method.
Licenses
This project is licensed under the permissive MIT license, and the libraries it depends on have their own licenses. Please review these in the license file.
All versions of textformatter-typographer with dependencies
php Version >=7.4.0
composer/installers Version ^2.2