Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

framebot Framework is a powerful and flexible open-source framework designed to simplify the creation and management of Telegram bots. Whether you're a seasoned developer or just starting out, framebot Framework provides the tools you need to build feature-rich bots with ease.

License

NotificationsYou must be signed in to change notification settings

alirezajavadigit/framebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VersionLicense: MITGitHub Stars

A Modern PHP Framework for Telegram Bot Development & Database Management

Fast ·Secure ·Eloquent-style ORM ·Telegram API First

📺 Getting Started Video

FrameBot Tutorial

✨ Key Features

🗄️ Database Superpowers

  • Eloquent-style ORM - Familiar Active Record implementation
    $user = User::find(1)->update(['username' =>'framebot_user']);
  • Migrations System - Version-controlled database schema management
  • Relationship Support - HasMany, BelongsTo, Polymorphic relations

🤖 Telegram Integration

  • Auto-Send Architecture - RAII pattern for seamless API calls
 Message::chatId($this->chatID)->text("welcome to my telegram bot");// Automatically sends on destruct

25+ API Components - Pre-built classes for:

  • 📍 Locations & Venues
  • 🎲 Interactive Dice/Polls
  • 💌 Media Groups & Paid Content
  • 🎭 Message Reactions

🛡️ Security First

  • Dotenv Implementation - Secure credential management
  • Auto-Sanitization - Built-in parameter validation
  • Request Throttling - Protection against API abuse

Section 3: Quick Start

🚀 Quick Start

Requirements

  • PHP 8.0+
  • Composer
  • MySQL

Installation

git clone https://github.com/alirezajavadigit/framebot.gitcd framebotcomposer installcp .env.example .env

Configuration (.env)

# Telegram ConfigurationTOKEN=your_bot_token_hereAPP_ENV=production# Database SettingsDB_HOST=127.0.0.1DB_NAME=framebotDB_USERNAME=rootDB_PASSWORD=

Section 5: Contributing & Community

🤝 Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add some amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Contribution Guidelines:

  • Follow PSR-12 coding standards
  • Include PHPDoc comments
  • Add unit tests for new features
  • Update documentation accordingly

🌍 Community

📜 License

MIT License - SeeLICENSE for full text

Created with ❤️ byAlireza Javadi
Part of the Open Source Telegram Bot Ecosystem 🤖

About

framebot Framework is a powerful and flexible open-source framework designed to simplify the creation and management of Telegram bots. Whether you're a seasoned developer or just starting out, framebot Framework provides the tools you need to build feature-rich bots with ease.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp