Skip to content

morpheusadam/laravel-management-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Laravel Telegram Group Management Bot

A powerful Laravel application for automated Telegram group management (TeleGroupBot) β€” message filtering, keyword moderation, member controls, scheduled messages, and activity insights, with built-in subscriptions and multi-gateway payments.

License Stars Forks Last commit Repo size

Laravel PHP Telegram MySQL Redis Pusher Tailwind CSS


πŸ“– Overview

Laravel Telegram Group Management Bot (TeleGroupBot) is a comprehensive, Laravel-based solution for automating and moderating Telegram groups. It handles the day-to-day work of running a community β€” filtering spam, censoring keywords, managing service messages, restricting new members, scheduling announcements, and surfacing member-activity insights β€” so admins can keep their groups clean, safe, and engaged.

Beyond moderation, the project is built as a SaaS-ready platform: it includes a web dashboard, multilingual support, subscriptions/plans, QR-code generation, an update system, and integrations with a wide range of payment gateways (PayPal, Stripe, Razorpay, Mollie, Flutterwave, Paystack, Mercado Pago, Xendit, and more). Real-time events are powered by Pusher, queues by Redis/Predis, and storage can be backed by AWS S3.

It's ideal for community managers, agencies, and developers who want to offer Telegram group automation as a product or run it for their own communities.

πŸ”Ž Keywords: telegram bot, telegram group management, laravel telegram bot, telegroupbot, group moderation, message filtering, keyword censor, scheduled messages, community management, saas, subscription payments.


✨ Features

  • πŸ›‘οΈ Group management β€” automate routine tasks to run your Telegram group efficiently.
  • πŸ”’ Privacy & security β€” keep your group protected and well-moderated.
  • 🧩 Customizable β€” adapt the bot to the unique needs of each community.
  • 🚫 Advanced message filtering β€” automatically filter messages to keep discussion clean and relevant.
  • πŸ”€ Keyword monitoring β€” censor specific words to keep the group respectful.
  • πŸ”” Service-message management β€” control "user joined" / "user left" and other service messages.
  • πŸ‘‹ New-member restrictions β€” set limits and rules for newcomers.
  • ⏰ Scheduled messages β€” broadcast announcements and reminders on a schedule.
  • πŸ“Š Member activity insights β€” understand engagement and interaction patterns.
  • πŸ”‡ Ban & mute β€” effectively handle problematic members.
  • 🌍 Multilingual β€” built-in translation management.
  • πŸ’³ Subscriptions & payments β€” multiple gateways (PayPal, Stripe, Razorpay, Mollie, and more).
  • πŸ”— Webhook-driven β€” receive and process Telegram updates via webhook.

πŸ› οΈ Tech Stack

Tech stack

Layer Technologies
Backend Laravel 8, PHP 7.3 / 8.x, Laravel Sanctum, Tinker
Messaging Telegram Bot API (webhook), Pusher (realtime)
Queue & Cache Redis / Predis
Storage AWS SDK, Flysystem S3
Frontend Blade, Tailwind CSS, Alpine.js, Laravel Mix, SweetAlert2
Payments PayPal, Stripe, Razorpay, Mollie, Flutterwave, Paystack, Mercado Pago, Xendit, Instamojo, Myfatoorah, Senangpay, Toyyibpay, Paymaya, Yoomoney
Utilities Simple QrCode, LaravelCollective HTML, Joe Dixon Translation

πŸš€ Getting Started

Prerequisites

  • PHP β‰₯ 7.3 (8.x recommended) with Composer
  • MySQL β‰₯ 5.7
  • Node.js & npm (for frontend assets)
  • A Telegram bot token (from @BotFather)

Installation

# 1. Clone the repository
git clone https://github.com/morpheusadam/laravel-management-telegram-bot.git
cd laravel-management-telegram-bot

# 2. Install dependencies
composer install
npm install

# 3. Create and configure your environment
cp .env.example .env
php artisan key:generate

# 4. Run migrations (and optionally seed)
php artisan migrate
php artisan db:seed   # optional

# 5. Build assets
npm run dev

Start the server and open http://localhost:8000:

php artisan serve

βš™οΈ Configure your Telegram bot token, database, Pusher, and payment gateway credentials in .env, then point your bot's webhook to the app's webhook endpoint.


πŸ—‚οΈ Project Structure

laravel-management-telegram-bot/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ Http/Controllers/   # Bot, Webhook, Dashboard, Subscription...
β”‚   β”œβ”€β”€ Providers/Payment/  # PayPal, Stripe, Razorpay, Mollie, ...
β”‚   β”œβ”€β”€ Models/             # Telegram_bot, Usage_log, User
β”‚   β”œβ”€β”€ Events/             # ChatEventPusherTelegram / Whatsapp
β”‚   └── Jobs/               # SendEmailJob
β”œβ”€β”€ .github/workflows/      # CI (php.yml)
β”œβ”€β”€ resources/              # Blade views & Tailwind assets
└── routes/                 # web, api & webhook routes

🀝 Contributing

Contributions are welcome! Fork the repository and submit a pull request, or open an issue with ideas and bug reports.

πŸ“œ License

Released under the MIT License β€” see the LICENSE file (or add one) for details.


πŸ‘€ Author β€” Morpheus Adam

Web developer & cheerful hacker Β· PHP Β· Laravel Β· Go

GitHub Website Email

⭐ If this bot helps you manage your Telegram community, please give it a star! ⭐

About

Laravel-based Telegram group management bot (TeleGroupBot): automated moderation, message filtering, keyword censoring, scheduled messages, member controls, activity insights, and SaaS subscriptions with multi-gateway payments.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors