PHPackages                             liostech/callbackin - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. liostech/callbackin

ActiveLibrary[HTTP &amp; Networking](/categories/http)

liostech/callbackin
===================

Simple library for receive mqtt message and make http request from data

12Python

Since Jul 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ibrahim4529/callbackin)[ Packagist](https://packagist.org/packages/liostech/callbackin)[ RSS](/packages/liostech-callbackin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CALLBACKIN
==========

[](#callbackin)

Description
-----------

[](#description)

Callbackin is a simple solution that allows you to forward requests from a public URL to a local server. It is particularly useful for testing webhooks and other services that require a public URL to receive requests.

Usage
-----

[](#usage)

1. Install the `callbackin` package globally using pip: `pip install callbackin` or `pip3 install callbackin`.
2. Initialize Callbackin by running the command: `callbackin init` just fill with default value.
3. Login to Callbackin using GitHub by running the command: `callbackin login`.
4. Create a new callback by running the command: `callbackin create`, and provide the necessary details: ```
    $ callbackin create
    Name of the callback: Callback 2
    Local endpoint: http://localhost:8000/handle-error
    Description: Simple Local Handle error
    ```

    This will create a callback named "Callback 2" for the local endpoint "". It will also generate a unique public URL that can be used to send requests to your endpoint: ```
    Creating callback Callback 2 for http://localhost:8000/handle-error
    Using This URL to use your endpoint: https://api.callbackin.my.id/handle/2b4edbf0-3c71-473c-97ad-1c34978ca7f9
    Start callback with this command: callbackin run 10

    ```

    Copy the generated URL and use it as the destination for your requests.
5. List all created callbacks by running the command: `callbackin list`.
6. Start listening for requests on a specific callback by running the command: `callbackin run {ID}`.

Commands
--------

[](#commands)

- `callbackin init`: Initializes the Callbackin server.
- `callbackin login`: Logs in to Callbackin using GitHub.
- `callbackin create`: Creates a new callback.
- `callbackin list`: Lists all created callbacks.
- `callbackin run {ID}`: Starts listening for requests on a specific callback.

How it works
------------

[](#how-it-works)

Callbackin utilizes a public server to forward requests from a public URL to a local server. It achieves this by generating a unique public URL using a UUID. When a request is sent to the public URL, the server forwards the request to the associated local server using MQTT (Message Queuing Telemetry Transport). The Callbackin CLI (Command-Line Interface) is used to create callbacks and listen for MQTT messages. When a request is received, the server sends an MQTT message to the CLI. The CLI then forwards the request to the local server for processing.

Diagram
-------

[](#diagram)

[![Diagram](docs/diagram.png)](docs/diagram.png)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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/fea6347961c943b76bec9d39d868c18a2ee41a418bf85fa605a69e34acc2aa98?d=identicon)[ibrahim4529](/maintainers/ibrahim4529)

---

Top Contributors

[![ibrahimhnif](https://avatars.githubusercontent.com/u/30402431?v=4)](https://github.com/ibrahimhnif "ibrahimhnif (33 commits)")

---

Tags

callbackmqttwebhook

### Embed Badge

![Health badge](/badges/liostech-callbackin/health.svg)

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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