Skip to main content
Bard Ipsum

Bard Ipsum

This Statamic addon adds a lorem ipsum filler text generator to the Bard fieldtype.

Installation

You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:

composer require jacksleight/statamic-bard-ipsum

Or if you only want to use it during local development:

composer require jacksleight/statamic-bard-ipsum --dev

Usage

Just type lorem5 and hit enter. The number is how many paragraphs you want. You can also append the following modifiers:

  • lorem[n]p / lorem[n]: Generate n paragraphs
  • lorem[n]s: Generate n sentences
  • lorem[n]w: Generate n words

If you're using an inline Bard field the paragraphs are joined with line breaks (if the field allows them) or spaces instead.

Credits

This addon uses the awesome lorem-ipsum text generator package by Nickolas Kenyeres.