Skip to content

Dummy 2.0.0

Latest

Choose a tag to compare

@kerns kerns released this 19 Oct 14:54
· 4 commits to master since this release
31177b1

Dummy 2.0.0 supports PHP 8.3–8.5 and Laravel 12/13 while keeping the original dummy(), dumb_luck(), and dumb_question() syntax.

New

  • Generated lorem ipsum with exact or ranged word, sentence, and paragraph counts: text@words:30-60, text@sentences:3, and text@paragraphs:2-3.
  • Optional title casing for headlines: text@words:5-9,title.
  • Composer autoloading, Laravel provider discovery, and asset/config publishing.
  • A redesigned demo with complete setup instructions, local syntax highlighting, image previews, and high-density image examples.
  • Hosted demo and documentation, built from PHP and published as a static snapshot.

Compatibility and performance

Requires PHP 8.3 or newer within the PHP 8.x line, and GD for images. Native PHP session startup and memory-limit changes have been removed. Directory scans and text pools are cached per request; images are cropped/resized in one GD pass and cached atomically. Laravel request state resets with the application lifecycle.

Install

composer require --dev kerns/dummy

For Laravel, publish assets with php artisan vendor:publish --tag=dummy-assets. See the demo or README for complete Laravel, standalone Composer, and folder-only setup instructions.

Validation

All 58 tests passed in each of six PHP 8.3/8.4/8.5 × Laravel 12/13 environments, plus macOS PHP 8.5. Fresh Laravel 12, Laravel 13, standalone Composer, and folder-only installations passed HTTP checks. Composer validation, linting, dependency audits, and static demo export checks passed. See the verification report.