PHPackages                             mikechip/apimessenger - 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. mikechip/apimessenger

AbandonedArchivedLibrary[API Development](/categories/api)

mikechip/apimessenger
=====================

api-messenger.com PHP SDK

1.1.0(7y ago)9215GPL-3.0-or-laterPHPPHP &gt;=7.2

Since Apr 27Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mikechip/whatsapp-api-messenger-sdk)[ Packagist](https://packagist.org/packages/mikechip/apimessenger)[ RSS](/packages/mikechip-apimessenger/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

### Deprecated

[](#deprecated)

#### The library was made quite a while ago and may be out of date. Please make a fork if you want to use it.

[](#the-library-was-made-quite-a-while-ago-and-may-be-out-of-date-please-make-a-fork-if-you-want-to-use-it)

API-Messenger SDK
=================

[](#api-messenger-sdk)

Library making work with api-messenger.com easier

Installation
============

[](#installation)

Just download src/apimessenger.php or use Composer:

```
composer require mikechip/apimessenger

```

Create instance
===============

[](#create-instance)

```
  $api = new Mike4ip\ApiMessenger(
        '_token_' // api-messenger.com token
  );
```

Get QR code
===========

[](#get-qr-code)

Proxying via PHP:

```
header('Content-Type: image/png');
readfile( $api->getQRCode() );

```

Or show directly:

```
