定制 hofmannsven/laravel-brevo 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hofmannsven/laravel-brevo

最新稳定版本:2.1.2

Composer 安装命令:

composer require hofmannsven/laravel-brevo

包简介

Laravel wrapper for Brevo's API v3 PHP library.

README 文档

README

Laravel Brevo

Laravel Brevo

Latest Version on Packagist GitHub Tests Action Status GitHub license

This package is a wrapper for Brevo's API v3 PHP library.

Tested with PHP versions 8.1, 8.2, 8.3, and 8.4 on Laravel 10, Laravel 11, and Laravel 12.

Installation

You can install the package via Composer:

composer require hofmannsven/laravel-brevo

Publish the config files

Publish package config files:

php artisan vendor:publish --provider="Hofmannsven\Brevo\BrevoServiceProvider"

Set the API Key

In your .env file, add your Brevo API key:

BREVO_API_KEY=xxx

Usage

use Hofmannsven\Brevo\Facades\Brevo;

// Account
$result = Brevo::AccountApi()->getAccount();
var_dump($result);

// Domains
$result = Brevo::DomainsApi()->getDomains();
var_dump($result);

// Contacts
$result = Brevo::ContactsApi()->getContacts();
var_dump($result);

// With custom client
$result = Brevo::AccountApi(
    new \GuzzleHttp\Client()
)->getAccount();

Available APIs

Use any getbrevo/brevo-php API (see supported functions):

  • AccountApi
  • AttributesApi
  • CompaniesApi
  • ContactsApi
  • ConversationsApi
  • CouponsApi
  • CRMApi
  • DealsApi
  • DomainsApi
  • EcommerceApi
  • EmailCampaignsApi
  • EventsApi
  • ExternalFeedsApi
  • FilesApi
  • FoldersApi
  • InboundParsingApi
  • ListsApi
  • MasterAccountApi
  • NotesApi
  • ProcessApi
  • ResellerApi
  • SendersApi
  • SMSCampaignsApi
  • TasksApi
  • TransactionalEmailsApi
  • TransactionalSMSApi
  • TransactionalWhatsAppApi
  • UserApi
  • WebhooksApi
  • WhatsAppCampaignsApi

Development

Code Style Fixer

composer format

Testing

composer test

Changelog

Please read the changelog for more information about recent changes.

Contributing

Please read the contribution guidelines for details.

Support

Always feel free to raise an issue on GitHub.

Security

If you discover a security issue, please contact me directly. My GPG fingerprint/key is available on Keybase.

Credits

License

MIT License (MIT). Please read the license for more information.

Laravel and the Laravel logo are trademarks of Taylor Otwell. Banner image generated with banners.beyondco.de

统计信息

  • 总下载量: 36.63k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 30
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 30
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固