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 6d 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 14% 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://www.gravatar.com/avatar/8dc2d3d0860ebdc90f501d786912add024459f7139f78456e84203c5a4293982?d=identicon)[itzik](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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