A plugin for Craft CMS 3.x to help you manage and manipulate text.
Switch branches/tags
Nothing to show
Clone or download
jalendport Merge pull request #12 from TopShelfCraft/feature/legacy-support
Added legacy parameters for better backwards compatibility
Latest commit efe40e9 Nov 7, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Fixed whitespace Nov 6, 2018
.gitignore Updated documentation link. Dec 31, 2017
CHANGELOG.md Version bump Nov 6, 2018
LICENSE.md Merry Craftmas! Dec 31, 2017
README.md Merry Craftmas! Dec 31, 2017
composer.json Version bump Nov 6, 2018



a plugin for Craft CMS 3.x

A Top Shelf Craft creation
Michael Rog, Proprietor

...because you have all the best words.


Wordsmith is a blazing fast, multi-byte safe, one-stop text manipulation toolkit for Craft CMS.


  • Trim and truncate text or HTML (by paragraph, word, or character)
  • Beautify your typography (smart quotes, widow-prevention, ampersand styling, etc.)
  • Change case and inflection
  • Transliterate international text
  • Search, count, isolate, and replace substrings
  • Parse Emoji, using standard and short names
  • Parse Markdown, in several flavors (including Parsedown)
  • Parse names to get their parts (e.g. first name, last name, etc.)
  • Parse a URL to get its parts (e.g. host name, path, query string, fragment, etc.)
  • Get YouTube video ID from a URL
  • Match and re-case Roman numerals
  • Calculate text statistics like word count, sentence count, and readability
  • Tell whether a variable value is string-like
  • ...and much more...


  1. From your project directory, use Composer to require the plugin package:

    composer require topshelfcraft/wordsmith
  2. In the Control Panel, go to Settings → Plugins and click the “Install” button for Wordsmith.

  3. There is no Step 3.

Wordsmith is also available for installation via the Craft CMS Plugin Store.


A comprehensive Guide, along with Release Notes, can be found in the documentation: