This project implements a Telegram-based learning system with persistent user state and structured interaction flows.
It manages:
- Conversational flows
- User state tracking
- Course and quiz delivery
- Support and feedback handling
- Telegram bot as primary user interface
- Command-based interaction system
- Stores user state in database
- Supports multi-step interactions
- Courses module
- Quiz module
- Support module
- Structured learning flows
- Quiz-based assessment system
- User support channel
- Persistent session handling
- MySQL based storage
- User state tracking
- Course and quiz data models
Telegram API → Bot Logic → State Manager → Database → Response Engine
- PHP 7.4+
- Composer
- MySQL
- Telegram Bot API
-
Install dependencies composer install
-
Configure environment Copy .env.example to .env Set database credentials and bot token
-
Deploy to server Upload to web server Configure webhook endpoint
- /help → system guide
- /courses → available courses
- /quiz → start assessment flow
- /contact → support channel