trendyminds / janitor
Make block organization and presentation a snap!
1.4.2
2026-04-13 15:19 UTC
Requires
- spatie/browsershot: ^5.2
- statamic/cms: ^6.0
Requires (Dev)
- laravel/pint: ^1.27
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
- Run
composer require trendyminds/janitor --dev - Install Puppeteer by running
php artisan janitor:install - 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', ],