Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Sends Laravel Package

wnx/laravel-sends

Keep track of outgoing emails in your Laravel app and associate sent emails with Eloquent models. Fetch sends per user, product, or mailable class, and store delivery, open, click, bounce, and complaint data.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Email Tracking & Compliance: Enables audit trails for sent emails, critical for GDPR, legal compliance, or customer support workflows.
  • User/Entity-Centric Analytics: Supports associating emails with Eloquent models (e.g., users, orders, products), enabling analytics like "how many emails were sent to this user?" or "what emails were triggered by this order?"
  • Debugging & Observability: Simplifies debugging email failures (e.g., "Why did this user not receive their reset link?") by logging all sent emails.
  • Feature Roadmap: Justifies building a "Email Activity Feed" or "User Communication History" feature without custom development.
  • Build vs. Buy: Avoids reinventing email tracking logic (e.g., database tables, middleware, or event listeners) for Laravel apps.
  • Use Cases:
    • Customer support dashboards (e.g., "Show all emails sent to this user").
    • Marketing analytics (e.g., "Track email campaigns tied to user segments").
    • Fraud prevention (e.g., "Log all emails sent to a suspicious account").

When to Consider This Package

  • Adopt if:

    • Your Laravel app sends transactional/automated emails (e.g., notifications, digests, alerts) and needs to track them.
    • You require model associations (e.g., linking emails to users, orders, or other entities).
    • Compliance/auditability is a priority (e.g., financial, healthcare, or regulated industries).
    • You lack time/resources to build a custom email tracking system (e.g., database tables + middleware).
    • Your team uses Laravel’s Mailable classes for email logic.
  • Look elsewhere if:

    • You only need basic email logging (e.g., logs to a file or third-party service like Postmark/SendGrid).
    • Your emails are fully managed by a third-party API (e.g., no Laravel Mailable classes).
    • You need real-time email open/click tracking (this package focuses on sent emails, not delivery events).
    • Your app uses a non-Laravel PHP framework or a different email library.
    • You require advanced analytics (e.g., A/B testing, heatmaps) beyond sent-email metadata.

How to Pitch It (Stakeholders)

For Executives: *"This package lets us automatically log and associate every email our Laravel app sends—like a 'sent items' folder for our users, orders, or products. It’s a drop-in solution that:

  • Reduces risk by ensuring compliance with email tracking laws.
  • Saves dev time (no custom database tables or middleware needed).
  • Enables features like customer communication histories or support dashboards with minimal effort. Think of it as adding 'version control' for emails—we’ll always know what, when, and to whom we sent."*

For Engineering: *"Laravel-Sends is a lightweight package that:

  • Hooks into Laravel’s Mail system to log sent emails with metadata (recipients, subject, attachments).
  • Associates emails with Eloquent models via sends() relationships (e.g., $user->sends()).
  • Requires zero schema changes—just install, configure, and start querying sent emails.
  • Supports filtering by Mailable class, user, or model (e.g., Send::forMailClass()->get()). Tradeoff: No real-time delivery tracking (opens/clicks), but it’s a 10x faster way to build email auditability than rolling our own solution. Recommended for any app sending >10K emails/month where tracking matters."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin