rudolfbruder/laravel-snip
Laravel Snip is a lightweight package for creating and managing reusable snippets in Laravel applications. It provides a simple API and Blade-friendly rendering so you can store, organize, and reuse content with minimal setup. Quick to install and easy to extend.
php artisan vendor:publish --tag=snip-assets. After upgrading, re-run with --force..env, set SNIP_MAIL_CATCH=true (recommended as of v0.3.6). This replaces the older MAIL_MAILER=snip approach for most apps.php artisan queue:restart (or php artisan horizon:terminate for Horizon).Mail::mailer('shop_sk')->to(...)->send(...)), SNIP_MAIL_CATCH=true catches those too. Do not rely on setting each mailer to snip.SNIP_MAIL_CATCH=true to your local .env/.env.local and keep it unset or false in shared/staging/production environments.--force, clear cached config if needed (php artisan config:clear), restart workers, then confirm the Mail tab shows the new inbox/setup guidance.MAIL_MAILER=snip only caught mail sent through the default mailer. Per-mail Mail::mailer('...') calls bypassed it and still sent. Switch to SNIP_MAIL_CATCH=true if you use multiple mailers.SNIP_MAIL_CATCH until restarted. The empty inbox reminder in v0.3.6 is specifically pointing at this.vendor:publish --tag=snip-assets --force overwrites published assets. If you customized playground views/assets, diff or back them up before forcing.How can I help you explore Laravel packages today?