PHPackages                             sokolnikov911/laravel-sendy - 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. sokolnikov911/laravel-sendy

ActiveLibrary

sokolnikov911/laravel-sendy
===========================

Service provider for Sendy API in PHP Laravel 5+

023PHP

Since Apr 7Pushed 5y agoCompare

[ Source](https://github.com/sokolnikov911/laravel-sendy)[ Packagist](https://packagist.org/packages/sokolnikov911/laravel-sendy)[ RSS](/packages/sokolnikov911-laravel-sendy/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel Sendy
=============

[](#laravel-sendy)

[![Github](https://camo.githubusercontent.com/35661c458f188b7cf4c24ad25299a6c1b881617c5b7aef66c6488f835bbfee6c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d7072652f6d69636f76692f6c61726176656c2d73656e64792e737667)](https://github.com/micovi/laravel-sendy/)[![Packagist](https://camo.githubusercontent.com/f161fccd3dfda6667b6f0df69eb25e018447ce790d20183970d43bce49815e7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f6d69636f76692f6c61726176656c2d73656e64792e737667)](https://packagist.org/packages/micovi/laravel-sendy)[![Packagist downloads](https://camo.githubusercontent.com/17ba48f590f3a519035d9649d3ace08bc1d44c35926aeade5225c8219312c3a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d69636f76692f6c61726176656c2d73656e64792e737667)](https://packagist.org/packages/micovi/laravel-sendy)

Package description: Laravel simple integration with Sendy API to subscribe/unsubscribe users to list.

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

[](#installation)

Install via composer

```
composer require sokolnikov911/laravel-sendy
```

### Register Service Provider

[](#register-service-provider)

**Note! This step is optional if you use laravel &gt;= 5.5 with package auto discovery feature.**

Add service provider to `config/app.php` in `providers` section

```
sokolnikov911\LaravelSendy\ServiceProvider::class,
```

### Register Facade

[](#register-facade)

Register package facade in `config/app.php` in `aliases` section

```
'LaravelSendy' => sokolnikov911\LaravelSendy\Facades\LaravelSendy::class,
```

### Add env variables

[](#add-env-variables)

```
SENDY_API_KEY=your-api-key
SENDY_URL=your-sendy-url
SENDY_LIST_ID=your-list-id
```

LIST ID can be found encrypted &amp; hashed in View all lists section under the column named ID

Customizing or extending
------------------------

[](#customizing-or-extending)

### Publish configuration file

[](#publish-configuration-file)

You can publish configuration file to edit the variables, in case you don't want to use ENV. File will pe published in `/config/larave-sendy.php`

```
php artisan vendor:publish --provider="sokolnikov911\LaravelSendy\ServiceProvider" --tag="config"
```

### Publish translations

[](#publish-translations)

You can publish translations to edit them. Files will be published in `/resources/lang/vendor/laravel-sendy`.

**Note:** You can extend translations by creating a new file in `/resources/lang/vendor/laravel-sendy/{lang}/messages.php` using the format from `en` language file.

Usage examples
--------------

[](#usage-examples)

Before any usage add Namespace to file.

```
use sokolnikov911\LaravelSendy\LaravelSendy;
```

### Subscribe

[](#subscribe)

Subscribes a new email to list. This can be used to edit already subscribed users. (eg. change name)

```
// initialize LaravelSendy
$sendy = new LaravelSendy();

// Simple email subscribe
$subscribe = $sendy->subscribe('email@example.com');

// Add subscriber with email and name
$subscribe = $sendy->subscribe('email@example.com', 'John Doe');

// Full subscribe method
$subscribe = $sendy->subscribe($email, $name = null, $listId = null, $json = false, $customFields = []);

// Response example
$subscribe = [
  "success" => true
  "message" => "You have been subscribed."
]
```

### Unsubscribe Examples

[](#unsubscribe-examples)

Marks email as unsubscribed from the list.

```
// initialize LaravelSendy
$sendy = new LaravelSendy();

// Simple unsubscribe
$unsubscribe = $sendy->unsubscribe('email@example.com');

// Full unsubscribe method
$unsubscribe = $sendy->unsubscribe($email, $listId = null, $json = false);

// Response example
$unsubscribe = [
  "success" => true
  "message" => "You have been unsubscribed."
]
```

### Delete Example

[](#delete-example)

Deletes email from list. Action is definitive.

```
// initialize LaravelSendy
$sendy = new LaravelSendy();

// Simple delete
$delete = $sendy->delete('email@example.com');

// Full unsubscribe method
$delete = $sendy->delete($email, $listId = null, $json = false);

// Response example
$delete = [
  "success" => true
  "message" => "You have been deleted from the list."
]
```

Security
--------

[](#security)

If you discover any security related issues, please email instead of using the issue tracker.

Contribute
----------

[](#contribute)

If you wish to contribute to translations for the package in your language you can submit a PR request with the lang files copied from en `resources/lang/en/messages.php`.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/97a1cefec9fcbf213bb9a2db1f26e21b6ccb750984727256dd9833c5b27f25ae?d=identicon)[sokolnikov911](/maintainers/sokolnikov911)

---

Top Contributors

[![micovi](https://avatars.githubusercontent.com/u/7070368?v=4)](https://github.com/micovi "micovi (11 commits)")[![sokolnikov911](https://avatars.githubusercontent.com/u/11427142?v=4)](https://github.com/sokolnikov911 "sokolnikov911 (11 commits)")

### Embed Badge

![Health badge](/badges/sokolnikov911-laravel-sendy/health.svg)

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

PHPackages © 2026

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