trendyminds/janitor

Make block organization and presentation a snap!

Maintainers

👁 trendyminds

Package info

github.com/trendyminds/janitor

pkg:composer/trendyminds/janitor

Statistics

Installs: 201

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

1.4.2 2026-04-13 15:19 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 50a0d8e6170f334f5cf01849664a261cb613926e

devblocksstatamic

This package is auto-updated.

Last update: 2026-06-13 15:47:54 UTC


README

Make block organization and presentation a snap!

Features

  • Organize your blocks alphabetically: php artisan janitor
  • Creates screenshot previews for your blocks: php artisan janitor:previews

Installing

  1. Run composer require trendyminds/janitor --dev
  2. Install Puppeteer by running php artisan janitor:install
  3. Ensure your sets are configured to use the preview folder in config/statamic/assets.php:
 /*
 |--------------------------------------------------------------------------
 | Replicator and Bard Set Preview Images
 |--------------------------------------------------------------------------
 |
 | Replicator and Bard sets may have preview images to give users a visual
 | representation of the content within. Here you may specify the asset
 | container and folder where these preview images are to be stored.
 |
 */

 'set_preview_images' => [
 'container' => 'uploads',
 'folder' => '_janitor',
 ],