Download the PHP package cmgmyr/title-formatter without Composer
On this page you can find all versions of the php package cmgmyr/title-formatter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cmgmyr/title-formatter
More information about cmgmyr/title-formatter
Files in cmgmyr/title-formatter
Download cmgmyr/title-formatter
More information about cmgmyr/title-formatter
Files in cmgmyr/title-formatter
Vendor cmgmyr
Package title-formatter
Short Description A simple to use text formatter, primarily used for page/blog titles
License MIT
Package title-formatter
Short Description A simple to use text formatter, primarily used for page/blog titles
License MIT
Please rate this library. Is it a good library?
Informations about the package title-formatter
Title Text Formatter
A simple to use text formatter, primarily used for page/blog titles.
Install
Via Composer
Usage
Formatting "Rules"
- First word in a sentence is capitalized
- Last word in a sentence is capitalized
- Words within brackets (or similar) are capitalized, similar to rules #1 & #2
- Words within the
$ignoredWords
array should not be capitalized as long as it doesn't conflict with rules #1-#3 - Words preceded by multiple special characters should be capitalized: $$$Money
- All dashed words should be capitalized: Super-Awesome-Post
- Ignore words that already include at least one uppercase letter. We'll assume that the author knows what they're doing: eBay, iPad, McCormick, etc
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Chris Gmyr
- All Contributors
All versions of title-formatter with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
ext-mbstring Version *
ext-mbstring Version *
The package cmgmyr/title-formatter contains the following files
Loading the files please wait ....