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(4mo ago)01↓94.7%MITPHPPHP ^8.2

Since Apr 2Pushed 4mo 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 1w ago

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

34

—

LowBetter than 74% of packages

Maintenance75

Regular maintenance activity

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

136d 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

[illuminate/pagination

The Illuminate Pagination package.

12234.6M1.1k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9350.2M310](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.8M410](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

224.7M145](/packages/illuminate-cookie)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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