PHPackages                             messageapi/messageapi-php - 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. [API Development](/categories/api)
4. /
5. messageapi/messageapi-php

ActiveLibrary[API Development](/categories/api)

messageapi/messageapi-php
=========================

Send and receive messages from any chat app, using one API

08PHP

Since Sep 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/messageapi-im/messageapi-php)[ Packagist](https://packagist.org/packages/messageapi/messageapi-php)[ RSS](/packages/messageapi-messageapi-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

messageapi.im
=============

[](#messageapiim)

> [Documentaion](http://messageapi-doc.azurewebsites.net/)

> To authorize, use this code:

```
require_once ('messageapi.php');
$messageapi=new \messageapi\messageapi('');
```

Quick example:
--------------

[](#quick-example)

#### Create Integration

[](#create-integration)

```
$result=$messageapi->integrations->Create('{
    "type":"line",
    "bot_id":"",
    "access_token":""
}');
```

#### Create Customer

[](#create-customer)

```
$result=$messageapi->customers->Create('{
    "email":"email@domain.com",
    "line":{"user_id":"225451339750443406022273244"}
}')
```

#### Send message

[](#send-message)

```
$result=$messageapi->messaging->SendMessage('{
    "_customer_id":"customer_id",
    "messengerType":"line",
    "message":{
        "type":"text",
        "content":"your text"
    }
}')
```

#### Add Webhook

[](#add-webhook)

```
$result=$messageapi->webhooks->Create('{
    "event":"received_message",
    "webhook_url":"http://yourpath.com/path"
}')
```

More Examples:
==============

[](#more-examples)

### Integrations

[](#integrations)

##### Get

[](#get)

```
$messageapi->integrations->Get('');
```

```
$messageapi->integrations->GetAll();
```

##### Create

[](#create)

```
$messageapi->integrations->Create('{
    "type":"line",
    "bot_id":"",
    "access_token":""}');
```

##### Update

[](#update)

```
$messageapi->integrations->Update('','{
    "type":"line",
    "bot_id":"",
    "access_token":""}');
```

##### Delete

[](#delete)

```
 $messageapi->integrations->Remove('');
```

### Customers

[](#customers)

##### Get

[](#get-1)

```
$messageapi->customers->Get('');
```

```
$messageapi->customers->GetAll();
```

##### Create

[](#create-1)

```
$messageapi->customers->Create('{
    "email":"email@domain.com",
    "line":{"user_id":""}}');
```

##### Update

[](#update-1)

```
$messageapi->customers->Create('','{
    "email":"email@domain.com",
    "line":{"user_id":""}}');
```

##### Delete

[](#delete-1)

```
$messageapi->customers->Remove('');
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/628137?v=4)[itzik](/maintainers/itzik)[@itzik](https://github.com/itzik)

---

Top Contributors

[![itzik-grin](https://avatars.githubusercontent.com/u/4235247?v=4)](https://github.com/itzik-grin "itzik-grin (6 commits)")

### Embed Badge

![Health badge](/badges/messageapi-messageapi-php/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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