PHPackages                             flamix/marketing-php-sdk - 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. flamix/marketing-php-sdk

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

flamix/marketing-php-sdk
========================

Flamix Marketing SDK

01.1k↓50%PHP

Since Mar 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rshkabko/flamix-marketing)[ Packagist](https://packagist.org/packages/flamix/marketing-php-sdk)[ RSS](/packages/flamix-marketing-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Install
-------

[](#install)

```
composer require flamix/marketing-php-sdk
```

Email
-----

[](#email)

We can send custom and standard mails.

```
use Flamix\Marketing\Client as FlamixMarketing;

// Init
$flamixMarketing = new FlamixMarketing('token', 'en');

// Custom mail
$flamixMarketing->email
    ->setSubject('Super Creative Subject')
    ->setBody('Put HTML text here!')
    ->send('flamix.solutions', 'client@gmail.com', ['title' => 'Optionally you can set title']);

// Custom email with template
$flamixMarketing->email
    ->custom('password_restore', ['link' => $url])
    ->send('flamix.solutions', 'client@gmail.com', ['title' => 'Optionally you can set title']);

// License mail
$flamixMarketing->email
    ->license('FX-1234567890', 'WooCommerce Store Integrations')
    ->send('flamix.solutions', 'client@gmail.com');

// Payment mail
$flamixMarketing->email
    ->payment('debit', 120, 'USD', ['id' => 999, 'date' => '10/12/2022', 'method' => 'Flamix.Kassa'])
    ->setUser(['id' => 1, 'name' => 'Roman Shkabko', 'region' => 'UA', 'currency' => 'UAH'])
    ->setItem(['id' => 123123, 'name' => 'WooCommerce Store Sync'], 'FX-123456789')
    ->send('flamix.solutions', 'client@gmail.com');

$flamixMarketing->email
    ->order('order_confirm', 9, ['items' => 999, 'delivery' => 100], 'UAH', 'Львів, Миколайчука 36, Поштомат Нової пошти', 'http://localhost/admin/companies')
    ->setItem([
            [
                'url' => 'https://4mobi.com.ua/product/picture-shadow-matte-case-new-pc-tpu-iphone-11-pro-in-outer-space-nasa-light-purple/',
                'img' => 'https://4mobi.com.ua/upload/resize_cache/webp/iblock/f16/emm52lkm7g6duc004kjmbvbbomxp4i60/450_450_0/picture_shadow_matte_case_new_pc_tpu_iphone_11_pro_in_outer_space_nasa_light_purple.webp',
                'name' => 'Чехол с дизайном Picture Shadow Matte Case New (PC+TPU) iPhone 11 Pro in outer space nasa/light purple',
                'count' => 1,
                'price' => 999,
            ],
            // Many goods...
        ])
    ->send('flamix.solutions', 'client@gmail.com');
```

### SMS

[](#sms)

```
    $sms = new \Flamix\Marketing\Actions\SMS('token', '4mobi.com.ua');
    $result = $sms->send('380988220142', 'hello!');
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/888ea3bfd61ac334551eb6b1dd2151c64022986f82c690cc87aa2db82d84a888?d=identicon)[flamix](/maintainers/flamix)

---

Top Contributors

[![rshkabko](https://avatars.githubusercontent.com/u/33148760?v=4)](https://github.com/rshkabko "rshkabko (16 commits)")

### Embed Badge

![Health badge](/badges/flamix-marketing-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/flamix-marketing-php-sdk/health.svg)](https://phpackages.com/packages/flamix-marketing-php-sdk)
```

###  Alternatives

[symfony/polyfill-php72

Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions

4.8k674.7M31](/packages/symfony-polyfill-php72)[symfony/polyfill-intl-icu

Symfony polyfill for intl's ICU-related data and classes

2.6k251.4M96](/packages/symfony-polyfill-intl-icu)[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.2k64.2M574](/packages/nette-php-generator)[consolidation/site-process

A thin wrapper around the Symfony Process Component that allows applications to use the Site Alias library to specify the target for a remote call.

5345.3M8](/packages/consolidation-site-process)[sycho/flarum-profile-cover

Adds the ability to add a cover image to a profile.

1836.6k](/packages/sycho-flarum-profile-cover)

PHPackages © 2026

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