PHPackages                             agyson/interakt-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. agyson/interakt-php-sdk

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

agyson/interakt-php-sdk
=======================

Interakt PHP SDK

1.0.9(2y ago)177MITPHP

Since Apr 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/agyson/interakt-php-sdk)[ Packagist](https://packagist.org/packages/agyson/interakt-php-sdk)[ RSS](/packages/agyson-interakt-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (11)Used By (0)

Interakt PHP SDK (Unofficial)
=============================

[](#interakt-php-sdk-unofficial)

[Interakt](https://www.interakt.shop/) PHP SDK. Read their [docs](https://www.interakt.shop/resource-center) for more information.

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

[](#installation)

Run [composer](http://getcomposer.org)

```
composer require agyson/interakt-php-sdk
```

Usage
-----

[](#usage)

### Getting API Key (Authentication)

[](#getting-api-key-authentication)

Inside your app, you’ll want to set your `api_key` before making any track calls:

To find your API key,

- go to your interakt account's Settings --&gt; Developer Settings
- copy the Secret Key.
- Use this key

### Standalone usage

[](#standalone-usage)

Make sure you already have Interakt Account and API Key

```
require 'vendor/autoload.php';

use Agyson\InteraktPhpSdk\Interakt;

$sms = new Interakt(env('api_key'));

// Get All Users
$interakt->get_users(
      $offset = 0,
      $limit = 100,
      $filter_start_date = "2010-01-01",
      $filter_end_date = "2023-01-01"
);

// Creating & Updating Users
$interakt->track_user(
      $userId = null,
      $fullPhoneNumber = null,
      $phoneNumber = null,
      $countryCode = null,
      $traits = [],
      $tags = []
);

// Assign Events to Specific Users
$interakt->track_event(
     $userId = null,
     $fullPhoneNumber = null,
     $phoneNumber = null,
     $countryCode = null,
     $event = null,
     $traits = []
);

// Send Message Templates
$interakt->send_template(
    $fullPhoneNumber = null,
    $phoneNumber = null,
    $countryCode = null,
    $callbackData = null,
    $templateName = null,
    $templateLanguageCode = null
    $headerValues = [],
    $bodyValues = [],
    $buttonValues = [],
);
```

Read their [Postman API Documentation](https://documenter.getpostman.com/view/14760594/UVeCRUdm) for more detailed information on using the API.

License
-------

[](#license)

MIT © [Agy Nurwicaksono](https://www.agyson.com)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

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

Every ~8 days

Recently: every ~15 days

Total

10

Last Release

1046d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/623842d47ab8806d8c3bf3fa220c2527b091fc5b3dc32993c83eb966d4360795?d=identicon)[agyson](/maintainers/agyson)

---

Top Contributors

[![agyson](https://avatars.githubusercontent.com/u/30114396?v=4)](https://github.com/agyson "agyson (11 commits)")

---

Tags

interaktwhatsappwhatsapp-business-apiwhatsapp-business-sdk

### Embed Badge

![Health badge](/badges/agyson-interakt-php-sdk/health.svg)

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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