Download the PHP package mundschenk-at/php-typography without Composer
On this page you can find all versions of the php package mundschenk-at/php-typography. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mundschenk-at/php-typography
More information about mundschenk-at/php-typography
Files in mundschenk-at/php-typography
Download mundschenk-at/php-typography
More information about mundschenk-at/php-typography
Files in mundschenk-at/php-typography
Vendor mundschenk-at
Package php-typography
Short Description A PHP library for improving your web typography
License GPL-2.0-or-later
Package php-typography
Short Description A PHP library for improving your web typography
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package php-typography
PHP-Typography
A PHP library for improving your web typography:
- Hyphenation — over 50 languages supported
- Space control, including:
- widow protection
- gluing values to units
- forced internal wrapping of long URLs & email addresses
- Intelligent character replacement, including smart handling of:
- quote marks (‘single’, “double”)
- dashes ( – )
- ellipses (…)
- trademarks, copyright & service marks (™ ©)
- math symbols (5×5×5=53)
- fractions (1⁄16)
- ordinal suffixes (1st, 2nd)
- CSS hooks for styling:
- ampersands,
- uppercase words,
- numbers,
- initial quotes & guillemets.
Requirements
- PHP 7.4.0 or above
- The
mbstring
extension
Installation
The best way to use this package is through Composer:
Basic Usage
- Create a
Settings
object and enable the fixes you want. - Create a
PHP_Typography
instance and use it to process HTML fragments (or whole documents) using your defined settings.
Roadmap
Please have a look at ROADMAP file for upcoming releases.
License
PHP-Typography is licensed under the GNU General Public License 2 or later - see the LICENSE file for details.
All versions of php-typography with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4.0
ext-pcre Version *
ext-mbstring Version *
masterminds/html5 Version ^2.5.0
ext-pcre Version *
ext-mbstring Version *
masterminds/html5 Version ^2.5.0
The package mundschenk-at/php-typography contains the following files
Loading the files please wait ....