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

Brevo Php Laravel Package

getbrevo/brevo-php

Official PHP SDK for the Brevo API (PHP 8.1+), installable via Composer. Covers email, CRM and events endpoints with built-in exception handling, custom clients, retries, timeouts and logging. Note v5 is a major release with breaking changes from v4.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. Buy Decision: The core calculus is unchanged — the package still bundles Brevo's consent management and digital wallet capabilities (plus core email/CRM) without custom development. What changes is the cost of staying current: v6.0.0 is a major version bump, so the build-vs-buy comparison must now include an upgrade tax. Budget a short migration spike before committing new roadmap work on top of the SDK.
  • Release Scope Reality Check: The published notes are thin — a README authentication section rewrite, a v5 → v6 upgrade guide, and an SDK regeneration (Fern-generated). No new product features are advertised. Treat v6 as a maintenance/breaking-change release, not a capability release. Do not promise stakeholders new consent or wallet functionality from this version.
  • Feature Expansion (unchanged from prior assessment, carried forward pending verification that endpoints survived regeneration):
    • Consent Management: Opt-in/opt-out workflows, consent group assignment during contact import, consentGroups metadata for segmentation.
    • Digital Wallet Integration: Apple/Google Wallet pass installation URLs for loyalty cards, promotions, event tickets. Still URL generation only — no real-time redemption validation.
    • Data Enrichment: consentGroups arrays on contact profiles for targeting ("users who opted in via SMS").
  • Roadmap Prioritization (revised):
    • Phase 0 (New, blocking): Upgrade assessment for v6.0.0 — read the upgrade guide, diff generated SDK surface, confirm authentication changes, run the integration test suite against staging. This gates Phase 1.
    • Phase 1 (MVP): Consent groups for compliance; wallet passes for a pilot promotion — on whichever major version passes Phase 0.
    • Phase 2 (Scaling): Wallet passes wired into e-commerce or ticketing flows.
    • Phase 3 (Advanced): Dynamic re-consent flows; wallet-linked authentication.
  • Vendor/Supply-Chain Signal: The SDK is now being regenerated by a bot (fern-api[bot]). This is positive for spec fidelity and cadence, but it raises the odds of frequent, mechanical major bumps with terse changelogs. Factor "periodic SDK churn" into your maintenance capacity and consider pinning the version with a scheduled review cadence.

When to Consider This Package

  • Adopt This Package If:

    • You need consent management for GDPR/CCPA (opt-in source tracking, group-based permissions).
    • Your product involves digital wallets (loyalty, tickets, promos) and needs Apple/Google Wallet pass URLs.
    • You're on Brevo API v3+ and want the actively maintained SDK line.
    • You handle bulk contact imports and want consent groups auto-assigned.
    • You're greenfield — start on v6.0.0 to avoid a migration later, after validating the upgrade guide.
  • Look Elsewhere If:

    • Your use case has no consent tracking or wallet passes — you may not need to chase this major bump at all.
    • You need real-time wallet pass validation (redemption status). This remains URL generation; you'd need webhooks or a custom API layer.
    • Your stack is below PHP 8.1 — confirm the requirement in the v6 upgrade guide before assuming it's unchanged.
    • You prefer low-code wallet tooling (Brevo UI, PassKit).
    • You are mid-freeze or mid-launch. Given terse release notes, v6.0.0 is not a "drop everything" release. Stay on your current pinned version until the upgrade is scoped.
  • Upgrade Decision Matrix (new):

    • On v5.x, healthy integration → Schedule a migration ticket; read the upgrade guide; do not upgrade blind.
    • On v1.x–v4.x → Upgrade path is now two hops (v4 → v5 → v6). Re-plan the sequencing.
    • New integration → Start at v6.0.0.
    • Behind a hard change-freeze → Pin and revisit next cycle.

How to Pitch It (Stakeholders)

For Executives:

"This is a major version release (v6.0.0) of our Brevo SDK. It's a plumbing release, not a feature release — the notes cover documentation, an SDK regeneration, and an upgrade guide. There are no new customer-facing capabilities to announce.

What it does mean:

  • Expected breaking changes. A major version bump means our integration code may need adjustment before we take it. We should scope, not schedule, until engineering has read the upgrade guide.
  • No new spend required. Consent groups and wallet passes remain available — this release doesn't change the business case, it changes the maintenance calendar.
  • A predictable churn pattern. The SDK is now regenerated automatically, which likely means more frequent major bumps. We should bake a quarterly dependency review into the roadmap rather than reacting ad hoc.

Ask: Approve a 1–2 day engineering spike to read the upgrade guide, diff the SDK surface, and report back with an effort estimate and risk rating. No budget commitment beyond that until we have the estimate."*

For Engineering:

"v6.0.0 has landed. The release notes are minimal — treat them as incomplete, not as "nothing changed.""

What the notes actually say

  • README authentication section rewritten — highest-priority item to review. Authentication setup/configuration may have changed, and it's the one thing that breaks every call if it shifts.
  • v5 → v6 upgrade guide added — this is the authoritative source for breaking changes. Read it before touching composer.json.
  • SDK regenerated via Fern (fern-api[bot]) — expect mechanical, surface-level breaking changes: renamed methods/classes, changed type signatures, nullable/optional shifts, serialization differences. Previously fixed behaviors (e.g., empty-object serialization) may need re-verification post-regeneration.

Verification checklist before recommending upgrade

  1. Read the v6 upgrade guide and enumerate every breaking change that touches our code paths (contacts import, consent groups, wallet pass URL generation).
  2. Diff the generated SDK surface — grep for our used symbols and confirm they still exist with the same signatures.
  3. Confirm PHP version requirement in v6 (v5 required 8.1+; do not assume it held).
  4. Confirm Brevo API version compatibility (v3+ in v5; verify for v6).
  5. Run the existing integration test suite against staging on a branch — not on main.
  6. Re-verify empty-object serialization behavior and any prior bug-fix regressions after regeneration.

Recommendation

  • Short-Term: Pin v5.x on production. Open a migration branch, run the checklist, produce an effort estimate.
  • Do not assume v6 is backward-compatible. The version number says otherwise.
  • Long-Term: Given autogenerated SDK releases, establish a version-pinning policy plus a scheduled review cadence (e.g., quarterly) so major bumps are absorbed deliberately rather than reactively.
  • Blocking question to resolve upstream: release notes omit a changelog body — request or derive the actual breaking-change list from the upgrade guide before committing scope."*
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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package