sabbajohn/pulse-php 问题修复 & 功能扩展

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

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

sabbajohn/pulse-php

Composer 安装命令:

composer require sabbajohn/pulse-php

包简介

Framework-agnostic PHP client for the VoraPulse API.

README 文档

README

Framework-agnostic PHP client for the public v2 VoraPulse API.

Contract

The SDK contract is defined by the Pulse public OpenAPI spec:

  • https://github.com/vora-sys/Pulse/blob/main/VoraPulse/docs/openapi/pulse-public-v2.openapi.json

Administrative, billing, observability and other internal endpoints are intentionally out of scope.

Compatibility

  • PHP ^8.2
  • Public API base: /api/v2

Installation

composer require sabbajohn/pulse-php

Quickstart

use Sabbajohn\PulsePhp\PulseClient;

$pulse = new PulseClient('https://pulse.example.com', 'api-token');

$pulse->get('health');

$pulse->emails()->sendSync([
    'to' => [['email' => 'cliente@example.com', 'name' => 'Cliente']],
    'subject' => 'Bem-vindo',
    'html' => '<p>Ola!</p>',
]);

$pulse->automations()->trigger('pedido.criado', ['pedido_id' => 123]);

The client automatically normalizes the base URL to /api/v2.

Services

  • emails(): send sync/async, list, status, cancel, retry, stats and SMTP test
  • templates(): meta, CRUD and preview
  • composer(): meta, render, validate, autosave and latest revision
  • campaigns(): list, create, preview, show and send
  • audiences(): audiences, channels, members, tags and segments
  • contacts(): list, create, show, update, replace and delete
  • automations(): CRUD, trigger, toggle and manual run
  • calendar(): items, create event and delete event
  • whatsapp(): config, test, instance status, QR, webhook, restart, list and send message

Errors

The public exception mapping is stable across SDKs:

  • AuthenticationException
  • NotFoundException
  • ValidationException
  • RateLimitException
  • RemoteException
  • RequestFailedException

Examples

  • examples/quickstart.php

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固