PHPackages                             wensleydale/sendpulse-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. wensleydale/sendpulse-laravel

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

wensleydale/sendpulse-laravel
=============================

A minimal service provider to set up and use the SendPulse PHP library in Laravel 5

v1.0.1(10y ago)74.4k3[1 issues](https://github.com/garethtdavies/sendpulse-laravel/issues)MITPHP

Since Jan 19Pushed 6y agoCompare

[ Source](https://github.com/garethtdavies/sendpulse-laravel)[ Packagist](https://packagist.org/packages/wensleydale/sendpulse-laravel)[ RSS](/packages/wensleydale-sendpulse-laravel/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

SendPulse Laravel Helper
========================

[](#sendpulse-laravel-helper)

A service provider and facade to set up and use the [SendPulse](https://sendpulse.com/) PHP library in Laravel 5.

[![Build Status](https://camo.githubusercontent.com/adfdd07491202c4022c5e4ec0253f6bf7a4f700cf615bea8b7ec7c1c6e4ff3a5/68747470733a2f2f7472617669732d63692e6f72672f676172657468746461766965732f73656e6470756c73652d6c61726176656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/garethtdavies/sendpulse-laravel)

This package consists of a service provider, which binds an instance of an initialized SendPulse client to the IoC-container and a SendPulse facade so you may access all methods of the SendpulseApi class via the syntax:

```
$message = ['title' => 'My first notification', 'website_id' => 1, 'body' => 'I am the body of the push message'];

SendPulse::createPushTask($message);
```

You should refer to the [SendPulse API](https://sendpulse.com/api) and underlying [SendPush PHP class](https://github.com/garethtdavies/sendpulse-rest-api-php) for full details about all available methods.

Setup
-----

[](#setup)

1. Install the 'wensleydale/sendpulse-laravel' package

    Note, this will also install the required wensleydale/sendpulse-rest-api-php package.

    ```
    $ composer require wensleydale/sendpulse-laravel:1.*
    ```
2. Update 'config/app.php'

    ```
    # Add `SendPulseLaravelServiceProvider` to the `providers` array
    'providers' => array(
        ...
        'SendPulse\SendPulseLaravel\SendPulseLaravelServiceProvider',
    )

    # Add the `SendPushFacade` to the `aliases` array
    'aliases' => array(
        ...
        'SendPulse' => 'SendPulse\SendPulseLaravel\SendPulseFacade',
    )
    ```
3. Publish the configuration file (creates sendpulse.php in config directory) and add your API keys and optional default settings.

    ```
    $ php artisan vendor:publish
    ```

### Type Hinting

[](#type-hinting)

If you do not wish to make use of the SendPulse facade you may simply "type-hint" the SendPulse dependency in the constructor of a class that is resolved by the IoC container and an instantiated client will be ready for use.

```
use SendPulse\SendpulseApi;

private $client;

public function __construct(SendpulseApi $client)
{
    $this->client = $client;
}

public function getWebsites()
{
	$this->client->pushListWebsites();
}
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity64

Established project with proven stability

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 ~0 days

Total

2

Last Release

3815d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/947d18667b95c03befacd5f20dae7127b954f2cefcbc17e30b8bf031c23ba194?d=identicon)[garethtdavies](/maintainers/garethtdavies)

---

Tags

laravelsendpulse

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wensleydale-sendpulse-laravel/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k9.6k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90128.1k](/packages/emargareten-inertia-modal)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3614.9k](/packages/linkxtr-laravel-qrcode)[wearepixel/laravel-cart

A cart implementation for Laravel

1355.6k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

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