PHPackages                             dotit/sarbacane-bundle - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. dotit/sarbacane-bundle

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

dotit/sarbacane-bundle
======================

SarbacaneBundle is a Symfony 3.4 bundle for sarbacane

V1.0(6y ago)16MITPHPPHP &gt;=5.5.9

Since Jun 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wa7chiX07/sarbacane-bundle)[ Packagist](https://packagist.org/packages/dotit/sarbacane-bundle)[ Docs](https://github.com/wa7chiX07/sarbacane-bundle)[ RSS](/packages/dotit-sarbacane-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

sarbacaneBundle
===============

[](#sarbacanebundle)

sarbacaneBundle is a Symfony 3.4 bundle for sarbacane .

config.yml
----------

[](#configyml)

Use this line in config.yml file.

```
sarbacane:
    apiKey: '%apiKey%'
    accountId: '%accountId%'
```

parameters.yml
--------------

[](#parametersyml)

```
apiKey: [YOUR_APIKEY]
accountId: [YOUR_ACCOUNTID]
```

composer.json
-------------

[](#composerjson)

```
"autoload": {
        "psr-4": {
            "DotIt\\SarbacaneBundle\\": "[bundle source]",
            ......
        },

```

AppKernel.php
-------------

[](#appkernelphp)

```
$bundles = [
           .. ,
           .. ,
           new DotIt\SarbacaneBundle\SarbacaneBundle(),
        ];

```

Command
-------

[](#command)

```
in terminal execute these command

$ composer dump-autoload

**** For update database table and add bundle new table *****
$ ./bin/console doctrine:schema:update --force

```

Usage
-----

[](#usage)

```
/**** Create email new campaign *******/

$campaign = new Campaign();
$campaign->name='New Campaign';
$campaign->aliasFrom='Sender';
$campaign->subject='Object';
$campaign->emailFrom='examole@example.com';
$campaign->aliasReplyTo='sender';
$campaign->emailReplyTo='example@example.com';
$campaignID = CampaignManager::createCampaign($campaign);

/******ADD RECIPIENTS TO A CAMPAIGN*****/
$recipients =array(
            array('email' => 'recipient1.@example.com','phone' => '216xxxxxxxx'),
            array('email' => 'recipient2@example.com','phone' => '2162xxxxxxx')
        );
CampaignManager::campaignSetRecipients($campaignID,$recipients);

/******* SEND CAMPAIGN ********************/
CampaignManager::sendCampaign($campaignID);

/***** GET CAMPAIGNS *********************/

//$ limit and offset can be null
$campaigns = CampaignManager::getCampaigns($limit, $offset);

/********* SET A LIST TO CAMPAIGN ********/

CampaignManager::campaignSetList($campaignID,$listID);

/********* SET A MODEL TO CAMPAIGN ********/

CampaignManager::campaignSetModel($campagnID,$modelID);

/*****  CREATE NEW LIST ********/

$listID = ListManager::createList($name);

/****** ADD CONTACTS TO LIST *******/
$contacts= array(
            array('email' => 'contact1.@example.com','phone' => '216xxxxxxxx'),
            array('email' => 'contact2@example.com','phone' => '2162xxxxxxx')
        );
ListManager::addContacts($listID,$contacts);

/****** GET LIST ******************/

//$ limit and offset can be null
$lists = ListManager::getList($limit,$offset);

```

### License

[](#license)

SarbacaneBundle is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

company
-------

[](#company)

[DOTIT](http://www.dotit-corp.com/)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

2215d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20270512?v=4)[Chadli Ouhichi](/maintainers/wa7chiX07)[@wa7chiX07](https://github.com/wa7chiX07)

---

Top Contributors

[![wa7chiX07](https://avatars.githubusercontent.com/u/20270512?v=4)](https://github.com/wa7chiX07 "wa7chiX07 (23 commits)")

---

Tags

mailingsarbacane

### Embed Badge

![Health badge](/badges/dotit-sarbacane-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dotit-sarbacane-bundle/health.svg)](https://phpackages.com/packages/dotit-sarbacane-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

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