afaztech / reactor-framework
A modern, asynchronous PHP framework for building powerful Telegram bots.
Package info
github.com/AfazTech/reactor-framework
Type:framework
pkg:composer/afaztech/reactor-framework
Requires
- php: >=8.1
- afaztech/neili: ^3.0
- illuminate/database: ^9.0
- illuminate/events: ^9.0
- monolog/monolog: ^3.0
- symfony/console: ^6.0
- vlucas/phpdotenv: ^5.0
Requires (Dev)
- phpunit/phpunit: ^9.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
A modern, asynchronous PHP framework for building powerful, production-ready Telegram bots.
Reactor combines attribute-based routing, a dependency injection container, a middleware pipeline, Eloquent, migrations, a database-backed queue, a scheduler, multi-driver caching, and JSON localisation into a cohesive, developer-friendly stack.
Features
- Attribute-based routing
- Asynchronous execution
- Middleware pipeline
- Dependency injection container
- Service providers
- Multi-source configuration
- Eloquent ORM
- Database migrations
- Database-backed queue
- Cron scheduler
- Multiple cache drivers
- JSON localisation
- Package ecosystem
- PSR-3 logging
- Polling and webhook modes
- Multi-process support
Requirements
- PHP >= 8.1
- Composer
- PDO extension for the chosen database (SQLite is used by default)
Installation
composer require afaztech/reactor-framework
Usage
use Reactor\Core\App; $app = new App(__DIR__); $app->start();
The recommended way to start a new project is the reactor application skeleton, which ships with a complete layout, example handlers, and ready-to-use configuration.
Documentation
For detailed documentation, see DOCUMENT.md.
Contributing
Contributions are welcome. Please read the contribution guidelines.
License
This project is licensed under the MIT License.