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.
Mail::mailer('shop_sk')) by introducing SNIP_MAIL_CATCH=true as a global catch layer rather than relying on MAIL_MAILER=snip. This makes it more viable across multi-mailer and multi-tenant Laravel codebases.SNIP_MAIL_CATCH=true outside local/dev, which could suppress real outbound mail or capture sensitive content. The package remains pre-1.0, so configuration and asset behavior may change. Existing installs must re-publish assets and restart queue workers; otherwise UI or queued-mail behavior may be stale. Global mail interception also raises PII/data-retention questions.SNIP_MAIL_CATCH override every Laravel mailer path, including third-party transports and queued mail? Are there built-in production guards or environment checks? What Laravel/PHP versions are supported? Where is captured mail stored, and what retention/PII controls exist? Does the playground require a separate service, storage backend, or open port? How does it interact with config:cache and long-running queue workers?php artisan vendor:publish --tag=snip-assets --force, review Mail tab setup guidance, and move from MAIL_MAILER=snip to SNIP_MAIL_CATCH=true where appropriate. Restore or confirm normal mailer configuration for environments where real delivery is expected.SNIP_MAIL_CATCH=true only in local/dev. 4) Restart queue workers. 5) Exercise default and per-mailer send paths. 6) Confirm production/staging guardrails prevent interception. 7) Update developer onboarding and environment templates.SNIP_MAIL_CATCH recommendation.SNIP_MAIL_CATCH; stale published assets after upgrade; queue workers not restarted and therefore not honoring the new catch behavior; per-mailer paths untested; captured messages accumulating with sensitive data; config-cache mismatch between web and worker processes..env, vendor publishing, and queue workers. Moderate for platform/ops teams that must enforce environment guardrails, secret/PII handling, and safe deployment practices.How can I help you explore Laravel packages today?