jcergolj/brevo-webhook-manager-for-laravel

Brevo webhook manager for Laravel

v1.0 2023-11-07 11:59 UTC

This package is auto-updated.

Last update: 2024-04-07 13:14:31 UTC


README

This CLI tool provides a convenient way to manage Brevo webhooks from the command line. It provides a number of commands for fetching, creating, updating, and deleting webhooks.

create brevo webhook example

Features:

  • Fetch webhooks from the Brevo API
  • Create new webhooks
  • Update existing webhooks
  • Delete webhooks

Installation

Requirements

Required PHP >=8.2

Installing package

composer require jcergolj/brevo-webhook-manager-for-laravel

Publishing config file

php artisan vendor:publish --provider="Jcergolj\BrevoWebhookManager\BrevoWebhookMangerServiceProvider"

.env file

BREVO_API_KEY=
USER_AGENT=""
BREVO_BASE_URL=https://api.brevo.com/v3/

Avaliable commands

php artisan brevo-webhooks:create-inbound
php artisan brevo-webhooks:create-marketing
php artisan brevo-webhooks:create-transactional
php artisan brevo-webhooks:update
php artisan brevo-webhooks:delete
php artisan brevo-webhooks:fetch
php artisan brevo-webhooks:fetch-all