PHPackages                             fr0000st3r/laravel-tg-wsp-core - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fr0000st3r/laravel-tg-wsp-core

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

fr0000st3r/laravel-tg-wsp-core
==============================

Un chasis genérico para bots de Telegram y WhatsApp en Laravel.

v1.0.0(3mo ago)01↓90.9%MITPHPPHP ^8.2

Since Apr 2Pushed 3mo agoCompare

[ Source](https://github.com/Fr0000st3r/laravel-tg-wsp-core)[ Packagist](https://packagist.org/packages/fr0000st3r/laravel-tg-wsp-core)[ RSS](/packages/fr0000st3r-laravel-tg-wsp-core/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

⚡ LARAVEL-TG-WSP-CORE ⚡
=======================

[](#-laravel-tg-wsp-core-)

> **STATUS:** `OPERATIONAL` | **OWNER:** `FR0000ST3R` | **VERSION:** `1.0.0`

> *Standardized multi-channel messaging engine for the neon age.*

---

🛰️ EL CHASIS (THE CORE)
-----------------------

[](#️-el-chasis-the-core)

**Laravel-TG-WSP-Core** es una arquitectura modular diseñada para desacoplar la lógica de tus bots de los proveedores de mensajería (Telegram, WhatsApp, etc.).

Permite que tu "Cerebro" (Engine) procese mensajes sin importar de qué red vengan, traduciendo todo a un objeto estandarizado: `IncomingMessage`.

---

🛠️ INSTALACIÓN (SYSTEM LINK)
----------------------------

[](#️-instalación-system-link)

Agrega el repositorio a tu `composer.json` (o vía Packagist en el futuro):

```
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/Fr0000st3r/laravel-tg-wsp-core"
    }
],
```

Luego ejecuta el comando de enlace:

```
composer require frost/laravel-tg-wsp-core:dev-main
```

Registra el Provider en `bootstrap/providers.php`:

```
return [
    // ...
    Frost\LaravelTGandWSPCore\LaravelTGandWSPCoreServiceProvider::class,
];
```

---

🧬 ARQUITECTURA (DATA FLOW)
--------------------------

[](#-arquitectura-data-flow)

1. **Adapter**: Traduce la entrada específica (Telegram/WhatsApp) a `IncomingMessage`.
2. **Contracts**: Interfaz común para estandarizar los datos (Remitente, Texto, Canal).
3. **AgentEngine**: El procesador central que resuelve la respuesta.

### Ejemplo de uso en `routes/telegram.php`:

[](#ejemplo-de-uso-en-routestelegramphp)

```
use Frost\LaravelTGandWSPCore\AgentEngine;
use Frost\LaravelTGandWSPCore\Contracts\IncomingMessage;

$bot->onMessage(function (Nutgram $bot) {
    $engine = app(AgentEngine::class);

    // Normalización del mensaje
    $incoming = new IncomingMessage(
        text: $bot->message()->text,
        senderId: (string) $bot->userId(),
        channel: 'telegram',
        firstName: $bot->message()->from->first_name
    );

    // Respuesta del motor
    $bot->sendMessage($engine->handle($incoming));
});
```

---

🕶️ CRÉDITOS
-----------

[](#️-créditos)

Made with ❤️ by **Frost** for community.

---

*Powered by Nutgram and Pure Laravel Logic.*

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance82

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

91d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/de9d527de6c633fe0d3c9dd8604732045beee35756898b7b1867f7627192f234?d=identicon)[Fr0000st3r](/maintainers/Fr0000st3r)

---

Top Contributors

[![Fr0000st3r](https://avatars.githubusercontent.com/u/48188493?v=4)](https://github.com/Fr0000st3r "Fr0000st3r (5 commits)")

### Embed Badge

![Health badge](/badges/fr0000st3r-laravel-tg-wsp-core/health.svg)

```
[![Health](https://phpackages.com/badges/fr0000st3r-laravel-tg-wsp-core/health.svg)](https://phpackages.com/packages/fr0000st3r-laravel-tg-wsp-core)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M277](/packages/illuminate-pipeline)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.2M208](/packages/illuminate-broadcasting)[illuminate/redis

The Illuminate Redis package.

8314.6M369](/packages/illuminate-redis)

PHPackages © 2026

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