jeffersongoncalves/laravel-newsletter
A Laravel package for managing newsletter subscribers and mailing lists, offering simple tools to subscribe, unsubscribe, and send newsletters from your application. It integrates cleanly with Laravel's ecosystem, making email list handling and newsletter delivery straightforward and easy to configu...
>= 2.0.1, not 2.0.0.web middleware group means session, CSRF, cookies, and $errors behave. This is what makes server-rendered consent UX (validation messages, "check your inbox", error states) product-grade rather than a raw API — relevant to GDPR/CAN-SPAM-oriented requirements.composer.json.web) is a class of bug that recurs with any new public route. A reasonable product ask is a regression test asserting middleware group membership on all public routes, so future releases don't silently break form rendering.Adopt when:
$errors, CSRF-protected POSTs). 2.0.1 is the first release where this actually works end-to-end.Look elsewhere when:
For executives: This package gives us a working, self-hosted newsletter signup and unsubscribe flow inside our existing Laravel application — no per-subscriber SaaS fees and no subscriber data leaving our systems. The 2.0.1 release fixes a defect that made the new signup form fail on every page load in 2.0.0; it is a small patch with outsized impact, and we should standardize on 2.0.1 as the minimum supported version. Recommended ask: approve a minor upgrade this cycle and a small test-coverage task to prevent recurrence.
For engineering: 2.0.1 registers the public routes (subscribe/confirm/unsubscribe/track/webview) under Laravel's web middleware group, which restores session, CSRF, cookie encryption, and $errors sharing. 2.0.0's new subscribe form crashed with ErrorException: Undefined variable $errors on every request — anyone who upgraded is affected. Action items: bump the Composer constraint to ^2.0.1, audit any custom routes or views that assumed the previous middleware stack, and add a test that asserts middleware-group membership on all public routes so a future refactor can't silently break rendering again. Note the tracked/webview endpoints now carry session and cookie middleware — confirm that's acceptable for your caching and privacy posture.
How can I help you explore Laravel packages today?