PHPackages                             bitandblack/typorules - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bitandblack/typorules

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bitandblack/typorules
=====================

Typographic improvements for professional-looking and easy-to-read texts.

0.19.1(3d ago)6320MITPHPPHP &gt;=8.1

Since Apr 30Pushed 1mo agoCompare

[ Source](https://github.com/BitAndBlack/typorules)[ Packagist](https://packagist.org/packages/bitandblack/typorules)[ Docs](https://www.bitandblack.com)[ Fund](https://www.buymeacoffee.com/tobiaskoengeter)[ RSS](/packages/bitandblack-typorules/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (8)Dependencies (30)Versions (28)Used By (0)

[![PHP from Packagist](https://camo.githubusercontent.com/fc2600970cf881a52e287013e61ab2d5638052b702cdf905fb628d8da358a1fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626974616e64626c61636b2f7479706f72756c6573)](http://www.php.net)[![Latest Stable Version](https://camo.githubusercontent.com/576e20c3600043f2fbb4639a05f7663c67afea5258f93cdbfc2df4714572fd89/68747470733a2f2f706f7365722e707567782e6f72672f626974616e64626c61636b2f7479706f72756c65732f762f737461626c65)](https://packagist.org/packages/bitandblack/typorules)[![Total Downloads](https://camo.githubusercontent.com/10df16fa0b83ee5b2c65530f2ff7d4655a6077fc1fc2ec0c41cde75a24f3528e/68747470733a2f2f706f7365722e707567782e6f72672f626974616e64626c61636b2f7479706f72756c65732f646f776e6c6f616473)](https://packagist.org/packages/bitandblack/typorules)[![License](https://camo.githubusercontent.com/29269907166352e9f7c5c764590a974581ea74578d3e04c0b443153657a41432/68747470733a2f2f706f7365722e707567782e6f72672f626974616e64626c61636b2f7479706f72756c65732f6c6963656e7365)](https://packagist.org/packages/bitandblack/typorules)

Bit&amp;Black TypoRules
=======================

[](#bitblack-typorules)

Typographic improvements for professional-looking and easy-to-read texts written in PHP.

TOC
---

[](#toc)

- [Installation](#installation)
- [Usage](#usage)
    - [Using a single rule](#using-a-single-rule)
    - [Using a rule set](#using-a-rule-set)
- [Rules existing](#rules-existing)
    - [Customization](#customization)
- [Rule sets existing](#rule-sets-existing)
    - [Customization](#customization-1)
- [Display and check changes](#display-and-check-changes)
- [Thanks](#thanks)
- [Help](#help)

Installation
------------

[](#installation)

This library is available for the use with [Composer](https://packagist.org/packages/bitandblack/typorules). Add it to your project by running `$ composer require bitandblack/typorules`.

Usage
-----

[](#usage)

The Bit&amp;Black TypoRules library comes with a lot of rules that help achieve a better typography. In addition, there are rule sets providing multiple rules at once.

### Using a single rule

[](#using-a-single-rule)

A single rule can be used like that:

```
