sobhansgh/rubikabotphp
Composer 安装命令:
composer require sobhansgh/rubikabotphp
包简介
Rubika Bot API SDK for PHP
README 文档
README
RubikaBotPHP
Professional PHP SDK for Rubika Bot API
A modern, lightweight, PSR-4 compliant PHP SDK for building Rubika bots.
🌍 Documentation
🇺🇸 English
➡️ README_EN.md
🇮🇷 فارسی
➡️ README_FA.md
✨ Features
- Modern PHP 8.1+
- Composer Ready
- PSR-4 Autoload
- Object Oriented
- Type Safe
- Webhook Support
- Polling Support
- Router
- File Upload
- Keyboard Builder
- Inline Keyboard Builder
- Callback Query
- Exception Handling
- Helper Classes
- Fluent API
- Lightweight
- Open Source
📦 Installation
composer require sobhansgh/rubikabotphp
🚀 Quick Example
use Sobhansgh\Rubikabotphp\Rubika; use Sobhansgh\Rubikabotphp\Types\Message; $bot = new Rubika("YOUR_BOT_TOKEN"); $bot->sendMessage( Message::make() ->chat("CHAT_ID") ->text("Hello Rubika!") );
📁 Project Structure
Rubikabotphp/
src/
examples/
docs/
tests/
composer.json
README.md
README_EN.md
README_FA.md
LICENSE
CHANGELOG.md
CONTRIBUTING.md
📚 Examples
Inside the examples/ directory you will find complete examples for:
- Send Message
- Send Photo
- Send Document
- Send Video
- Send Audio
- Keyboard
- Inline Keyboard
- Router
- Webhook
- Polling
⚙ Requirements
- PHP 8.1+
- Composer
- CURL Extension
- JSON Extension
📖 Documentation
Complete documentation is available in:
- README_EN.md
- README_FA.md
- docs/
🤝 Contributing
Contributions are welcome.
Please read:
CONTRIBUTING.md
before submitting Pull Requests.
🧪 Testing
composer test
🗺 Roadmap
Version 1.0
- HTTP Client
- Router
- Webhook
- Polling
- File Upload
- Keyboard
- Inline Keyboard
- Helpers
- Examples
- Tests
Version 1.1
- More API Coverage
- Better Validation
- More Helper Classes
Version 2.0
- Middleware
- Events
- Plugins
- Cache Layer
- Async Requests
❤️ Support
If you like this project please
⭐ Star the repository
🐞 Report bugs
💡 Suggest features
🤝 Contribute
📄 License
This project is licensed under the MIT License.
See the LICENSE file for more information.
Made with ❤️ by
Sobhan Ghasemi
If this project helps you, please give it a ⭐
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-22