trendyminds/janitor

Make block organization and presentation a snap!

Maintainers

Package info

github.com/trendyminds/janitor

pkg:composer/trendyminds/janitor

Statistics

Installs: 82

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

1.4.2 2026-04-13 15:19 UTC

This package is auto-updated.

Last update: 2026-04-13 15:20:14 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',
  ],