Search by

afaztech / reactor

afaztech

Application skeleton for the Reactor PHP framework

Package info

github.com/AfazTech/reactor

Type:project

pkg:composer/afaztech/reactor

Statistics

Installs: 21

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

v0.5.2 2026-10-20 19:04 UTC

This package is auto-updated.

Last update: 2026-10-24 20:44:34 UTC


README

PHP Version License Reactor Framework

Reactor is a modern, asynchronous PHP framework for building powerful, production-ready Telegram bots.

This repository is the official application skeleton for the afaztech/reactor-framework package. It ships with a complete project layout, working example handlers, middleware, migrations, localisation files, and CLI commands, so you can go from composer create-project to a running bot in under five minutes.

It is the fastest way to start a new project and the recommended path for exploring what the framework can do.

Features

  • Attribute-based routing
  • Asynchronous by design
  • Middleware pipeline
  • Dependency injection
  • Service providers
  • Multi-source configuration
  • Eloquent ORM
  • Database-backed queue
  • Cron scheduler
  • Multi-driver caching
  • JSON localisation
  • Package ecosystem
  • Polling and webhook modes
  • Multi-process support

Requirements

  • afaztech/reactor-framework ^0.5.0

Installation

composer create-project afaztech/reactor my-bot
cd my-bot
cp .env.example .env

Set your bot token in .env, then:

./reactor migrate
./reactor start

Usage

Send /start to your bot on Telegram. The bot replies with a welcome message and the main menu keyboard.

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.