PHPackages                             sabbajohn/pulse-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sabbajohn/pulse-laravel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sabbajohn/pulse-laravel
=======================

Laravel integration package for VoraPulse.

v0.2.7(1mo ago)1159—0%1MITPHPPHP ^8.2

Since May 16Pushed 1mo agoCompare

[ Source](https://github.com/sabbajohn/pulse-laravel)[ Packagist](https://packagist.org/packages/sabbajohn/pulse-laravel)[ RSS](/packages/sabbajohn-pulse-laravel/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (8)Dependencies (8)Versions (9)Used By (1)

sabbajohn/pulse-laravel
=======================

[](#sabbajohnpulse-laravel)

Laravel integration package for consuming the public `v2` VoraPulse API.

`pulse-laravel` is a framework adapter on top of `sabbajohn/pulse-php`. It does not extend the public API surface beyond the base client contract.

Contract
--------

[](#contract)

The normative API contract is defined by:

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

Compatibility
-------------

[](#compatibility)

- PHP `^8.2`
- Laravel `9.x`, `10.x`, `11.x`, `12.x`, `13.x`
- `sabbajohn/pulse-php` `^0.1`

Installation
------------

[](#installation)

```
composer require sabbajohn/pulse-laravel:^0.2
php artisan pulse:install --write-env
```

If Packagist is not yet indexing the latest tags, register the VCS repositories before requiring the packages.

Configuration
-------------

[](#configuration)

Static fallback:

```
PULSE_BASE_URL=https://pulse.seu-dominio.com
PULSE_API_TOKEN=seu-token
PULSE_ROUTE_PREFIX=pulse
PULSE_MIDDLEWARE=web,auth
```

The package automatically resolves the underlying `PulseClient` per resolution, preventing tenant credentials from leaking across long-running requests or jobs.

Multi-tenancy
-------------

[](#multi-tenancy)

Use `pulse.credentials_resolver` when credentials depend on request, tenant or job context:

```
'credentials_resolver' => App\Support\PulseTenantCredentials::class,
```

Supported resolver outputs:

- `null`: fall back to static config
- `array`: `base_url`, `api_token`, `timeout`, `options`
- `Sabbajohn\PulsePhp\PulseClient`: fully prebuilt client

Usage
-----

[](#usage)

```
use Sabbajohn\PulseLaravel\Facades\Pulse;

Pulse::emails()->sendAsync([
    'to' => [['email' => 'cliente@example.com']],
    'subject' => 'Processando',
    'html' => 'Recebemos sua solicitacao.',
]);

Pulse::emails()->ingestBounce([
    'email_id' => 154,
    'bounce_type' => 'hard',
    'recipient' => 'cliente@example.com',
    'reason' => 'Mailbox unavailable',
]);

Pulse::campaigns()->update(42, [
    'name' => 'Newsletter atualizada',
    'channel' => 'email',
    'template_source_type' => 'html',
    'template_source' => 'Oi',
    'compiled_html' => 'Oi',
]);
```

For explicit runtime credentials:

```
use Sabbajohn\PulseLaravel\PulseClientFactory;

$pulse = app(PulseClientFactory::class)->make([
    'base_url' => $tenant->pulse_base_url,
    'api_token' => $tenant->pulse_api_token,
]);
```

Local UI and proxy
------------------

[](#local-ui-and-proxy)

The local UI lives under `/{PULSE_ROUTE_PREFIX}` and offers a lightweight integration console.

The local proxy only forwards paths listed in `config/pulse.php` under `allowed_proxy_prefixes`. Administrative routes are blocked by design. The default list includes the public domains such as `emails`, `templates`, `campaigns`, `contacts`, `audiences`, `automations`, `calendar` and `whatsapp`. Because `emails` is allow-listed, the local proxy can also forward `POST /emails/bounces` for manual bounce ingestion.

Examples
--------

[](#examples)

- `examples/PulseTenantCredentials.php`

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance92

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

8

Last Release

31d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/299b8502a3c252fd7733814f2219701cb8b38d15519fabb338ee47e6564c48a0?d=identicon)[sabbajohn](/maintainers/sabbajohn)

---

Top Contributors

[![sabbajohn](https://avatars.githubusercontent.com/u/45358247?v=4)](https://github.com/sabbajohn "sabbajohn (7 commits)")

### Embed Badge

![Health badge](/badges/sabbajohn-pulse-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/sabbajohn-pulse-laravel/health.svg)](https://phpackages.com/packages/sabbajohn-pulse-laravel)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77922.3M186](/packages/laravel-mcp)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[laravel/surveyor

Static analysis tool for Laravel applications.

86121.4k14](/packages/laravel-surveyor)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
