PHPackages                             saber13812002/gap-sdp-api - 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. saber13812002/gap-sdp-api

ActiveLibrary[API Development](/categories/api)

saber13812002/gap-sdp-api
=========================

A PHP wrapper for the Gap Messenger SDP API.

1.2.3(2y ago)0477MITPHPPHP &gt;=5.5

Since Dec 8Pushed 2y agoCompare

[ Source](https://github.com/saber13812002/Gap-SDP-API)[ Packagist](https://packagist.org/packages/saber13812002/gap-sdp-api)[ Docs](https://github.com/saber13812002/Gap-SDP-API)[ RSS](/packages/saber13812002-gap-sdp-api/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)DependenciesVersions (12)Used By (0)

[![gap](examples/assets/gap.png)](examples/assets/gap.png) Gap Messenger SDP API PHP
====================================================================================

[](#-gap-messenger-sdp-api-php)

A PHP wrapper for the Gap Messenger SDP API.

Requirements
------------

[](#requirements)

- PHP 5.5 or higher
- cURL
- Gap Messenger app (mobile or web)

Get started
-----------

[](#get-started)

You will find everything you need to know to use this API in the [wiki](https://github.com/GapAfzar/Gap-SDP-API/wiki)

Laravel Installation
--------------------

[](#laravel-installation)

1-

```
$ composer require saber13812002/gap-sdp-api
```

### How to use in Laravel?

[](#how-to-use-in-laravel)

2- create endpoint in route/api.php

```
Route::post('/webhook-bot-get-id', [BotMotherController::class, 'getIdMother']);
```

3- set this url as callback in Gap settings:

```
https://yourdomain.com/api/webhook-bot-get-id?token=aaaaaaaaaaaaaaa1111111111111
```

4- you can use alias name

```
use Gap\SDP\Api as GapBot;
```

```
$bot = new GapBot($request->input('token'), $request);
```

5- use these functions like Telegram and Bale

```
$bot->ChatID()
$bot->Text()
$bot->Token()
$bot->Type()
```

another similarity to telegram

```
        $chat_id = $messenger->ChatID();

        $content = [
            'chat_id' => $chat_id,
            'text' => $message
        ];

        $messenger->sendMessage($content);
```

### What is Gap?

[](#what-is-gap)

According to [Gap Messenger](https://gap.im/):

>

Gap is a messaging app with a focus on speed and security, it’s super fast, simple and free. You can use Gap on all your devices at the same time — your messages sync seamlessly across any of your phones, tablets or computers.

With Gap, you can send text, photos, videos and files of any type (doc, zip, mp3, etc), as well as create groups for up to 200 people. You can write to your phone contacts and find people by their usernames. As a result, Gap is like SMS and email combined — and can take care of all your personal or business messaging needs.

License
-------

[](#license)

MIT

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~96 days

Recently: every ~0 days

Total

11

Last Release

1058d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3294604?v=4)[Saber tabatabaee yazdi](/maintainers/saber13812002)[@saber13812002](https://github.com/saber13812002)

---

Top Contributors

[![esmaeilpour](https://avatars.githubusercontent.com/u/207270?v=4)](https://github.com/esmaeilpour "esmaeilpour (27 commits)")[![ehsansabet](https://avatars.githubusercontent.com/u/5628902?v=4)](https://github.com/ehsansabet "ehsansabet (8 commits)")[![m-jahanbakhsh](https://avatars.githubusercontent.com/u/8415566?v=4)](https://github.com/m-jahanbakhsh "m-jahanbakhsh (4 commits)")[![saber13812002](https://avatars.githubusercontent.com/u/3294604?v=4)](https://github.com/saber13812002 "saber13812002 (4 commits)")[![khodadadi](https://avatars.githubusercontent.com/u/6233533?v=4)](https://github.com/khodadadi "khodadadi (1 commits)")[![mehdijamal](https://avatars.githubusercontent.com/u/951075?v=4)](https://github.com/mehdijamal "mehdijamal (1 commits)")

---

Tags

botgaplaravelpackagepackagistphpgapGap-APIGap-Bot-APIGap-Bot-PHPGap-SDP-API

### Embed Badge

![Health badge](/badges/saber13812002-gap-sdp-api/health.svg)

```
[![Health](https://phpackages.com/badges/saber13812002-gap-sdp-api/health.svg)](https://phpackages.com/packages/saber13812002-gap-sdp-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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