phpbotgram documentation
phpbotgram is a modern PHP 8.5 port of aiogram for Telegram bots. It keeps the familiar Bot, Dispatcher, Router, filters, middlewares, FSM, and scenes model, but runs on amphp fibers and uses PHP-native types throughout.
Start with the guide
The narrative documentation is the best entry point for building a bot, finding task-oriented recipes, and understanding the framework pieces before jumping into generated symbols.
API reference
Use the generated reference when you need exact namespaces, classes, methods, constructor arguments, return types, or enum values.