PHPackages                             magicalella/yii2-salesmanago - 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. magicalella/yii2-salesmanago

ActiveYii2-extension

magicalella/yii2-salesmanago
============================

Salesmanago component for Yii 2 framework

0.0.4(2y ago)12MITPHPPHP &gt;=5.4.0

Since Nov 27Pushed 2y agoCompare

[ Source](https://github.com/magicalella/yii2-salesmanago)[ Packagist](https://packagist.org/packages/magicalella/yii2-salesmanago)[ RSS](/packages/magicalella-yii2-salesmanago/feed)WikiDiscussions master Synced 1mo ago

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

yii2-salesmanago
================

[](#yii2-salesmanago)

Salesmanago component for Yii 2 framework

[SALESmanago Technical API Documentation](http://support.salesmanago.pl/wp-content/uploads/2014/10/SALESmanago-API-en.pdf)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Run

```
composer require "magicalella/yii2-salesmanago" "*"

```

or add

```
"magicalella/yii2-salesmanago": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

1. Add component to your config file

```
'components' => [
    // ...
    'salesmanago' => [
        'class' => 'magicalella\salesmanago\Salesmanago',
        'clientId' => 'xxxxxx',
        'apiKey' => 'xxxxxx',
        'apiSecret' => 'xxxxxx',
        'endpoint' => 'xxxxxx',
        'owner' => 'xxxxxx',
    ],
]
```

2. Add new contact to SALESmanago

```
$salesmanago = Yii::$app->salesmanago;
$result = $salesmanago->call('contact/upsert',[
    contact' => [
        'email' => 'example@example.com',
        'state' => 'CUSTOMER',
    ],
    'owner' => 'owner@owner.com',
    'tags' => [
        'TAG'
    ],
    'properties' => array('page' => 'newsletter'),
    'lang' => 'PL',
    'useApiDoubleOptIn' => true,
    'forceOptIn' => true,
    'forceOptOut' => false,
    'forcePhoneOptIn' => true,
    'forcePhoneOptOut' => false
    ]
);
```

Check [SALESmanago Technical API Documentation](http://support.salesmanago.pl/wp-content/uploads/2014/10/SALESmanago-API-en.pdf) for all available options.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.5% 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 ~686 days

Total

4

Last Release

1030d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8556d75138833ae5a306ebff1807edf3f501cb452e9cf533535b52f7855adf3?d=identicon)[magicalella](/maintainers/magicalella)

---

Top Contributors

[![magicalella](https://avatars.githubusercontent.com/u/29289928?v=4)](https://github.com/magicalella "magicalella (23 commits)")[![mrstroz](https://avatars.githubusercontent.com/u/771899?v=4)](https://github.com/mrstroz "mrstroz (3 commits)")

### Embed Badge

![Health badge](/badges/magicalella-yii2-salesmanago/health.svg)

```
[![Health](https://phpackages.com/badges/magicalella-yii2-salesmanago/health.svg)](https://phpackages.com/packages/magicalella-yii2-salesmanago)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)

PHPackages © 2026

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