alagaccia/laravel-brevo 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

alagaccia/laravel-brevo

最新稳定版本:v4.11

Composer 安装命令:

composer require alagaccia/laravel-brevo

包简介

Brevo API for Laravel Projects

README 文档

README

Table of Contents

Installing and configuring

Installing the package

You need to use Composer to install this package into your Laravel project:

composer require alagaccia/laravel-brevo

Load Service Provider

From Laravel 5.5 and newer the package wil register itself using Laravel's Auto Discovery.

Laravel 5.4 and older needs to include BrevoServiceProvider in your config/app.php:

'providers' => [
    /*
     * Package Service Providers...
     */
    AndreaLagaccia\BrevoServiceProvider::class,
]

Publishing the configuration file

Run the following Artisan command in your terminal to copy the environment variables:

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

Choose the preference and press ENTER

Provider: AndreaLagaccia\Brevo\BrevoServiceProvider

Now you have a config/brevo.php config file, where you can set the API_KEY and your favorite LIST_ID. You can also write your brevo variables in the .env file as follow:

brevo_API_KEY=
brevo_LIST_ID=
brevo_API_KEY=

Usage

统计信息

  • 总下载量: 21
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: NLPL
  • 更新时间: 2025-09-21