PHPackages                             laraxgram/laraquest - 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. laraxgram/laraquest

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

laraxgram/laraquest
===================

Sending requests and receiving Telegram updates.

v1.6.2(2mo ago)1233711MITPHP

Since Apr 6Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/laraXgram/Laraquest)[ Packagist](https://packagist.org/packages/laraxgram/laraquest)[ RSS](/packages/laraxgram-laraquest/feed)WikiDiscussions 1.x.x Synced 1mo ago

READMEChangelog (10)DependenciesVersions (38)Used By (1)

Laraquest
=========

[](#laraquest)

Sending requests and receiving Telegram updates.

Other Versions
--------------

[](#other-versions)

- [Laraquest GoLang](https://github.com/laraXgram/Laraquest-Go)
- Laraquest Python
- Laraquest JavaScript
- Laraquest Rust
- Laraquest C#

Installation:
-------------

[](#installation)

```
composer require laraxgram/laraquest
```

---

Config:
-------

[](#config)

```
$_ENV["BOT_TOKEN"] = "123456789:ABcdEfGHigKLMnopQrStuvWXYZ"; // required
$_ENV["BOT_API_SERVER"] = "https://api.telegram.org/"; // default-optional

// Polling
$_ENV["sleep_interval"] = 0.5; // default-optional
$_ENV["timeout"] = 100; // default-optional
$_ENV["limit"] = 100; // default-optional
$_ENV["allow_updates"] = ["*"]; // default-optional
```

---

Usage:
------

[](#usage)

#### Methods:

[](#methods)

Just use trait Method in your class!

```
use LaraGram\Laraquest\Methode;

class MyBotClass {
    use Methode;
}

$bot = new MyBotClass();
$bot->sendMessage(123456789, 'hello!');
```

---

Just use trait Updates in your class!

#### Updates:

[](#updates)

```
use LaraGram\Laraquest\Updates;

class MyBotClass {
    use Updates;
}

$bot = new MyBotClass();
$chatID = $bot->message->chat->id;
```

---

#### Both:

[](#both)

Just use trait Method and Updates in your class!

```
use LaraGram\Laraquest\Methode;
use LaraGram\Laraquest\Updates;

class MyBotClass {
    use Methode, Updates;
}

$bot = new MyBotClass();
$bot->sendMessage($bot->message->chat->id, 'hello!');
```

### Long Polling

[](#long-polling)

```
Laraquest::polling(function(Laraquest $request){
    $request->sendMessage($request->message->chat->id, "Hello, Laraquest!")
});
```

### Multi Connection

[](#multi-connection)

```
$_ENV['CONNECTIONS']['first_bot']['BOT_TOKEN'] = 'XXX';
$_ENV['CONNECTIONS']['second_bot']['BOT_TOKEN'] = 'YYY';

$first_bot = $bot->connection('first_bot');
$second_bot = $bot->connection('second_bot');

$first_bot->sendMessage(...);
$second_bot->deleteMessage(...);

$first_bot->getConnection(); // first_bot
```

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance84

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.8% 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 ~19 days

Recently: every ~11 days

Total

37

Last Release

84d ago

Major Versions

0.x-dev → v1.0.02025-02-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d8b6646981869cbcf751deb80508ec3b9a0e55a0664ce42a5f2a472ad84dd45?d=identicon)[laraXgram](/maintainers/laraXgram)

---

Top Contributors

[![AmirHkrg](https://avatars.githubusercontent.com/u/82036027?v=4)](https://github.com/AmirHkrg "AmirHkrg (69 commits)")[![ThevenRexOff](https://avatars.githubusercontent.com/u/87929242?v=4)](https://github.com/ThevenRexOff "ThevenRexOff (3 commits)")

---

Tags

laragramlaraquesttelegramtelegram-apitelegram-bottelegram-bot-apiphplaravelbottelegramlaragramlaraquest

### Embed Badge

![Health badge](/badges/laraxgram-laraquest/health.svg)

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

###  Alternatives

[salmanzafar/laravel-mqtt

A simple Laravel Library to connect/publish/subscribe to MQTT broker

106153.1k1](/packages/salmanzafar-laravel-mqtt)[basement-chat/basement-chat

Add a real-time chat widget to your Laravel application.

4983.9k](/packages/basement-chat-basement-chat)[rootsoft/laravel-ipfs

Laravel package to communicate with IPFS

323.9k](/packages/rootsoft-laravel-ipfs)

PHPackages © 2026

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