PHPackages                             fastor/fastor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. fastor/fastor

ActiveLibrary[Queues &amp; Workers](/categories/queues)

fastor/fastor
=============

High-performance, async-by-default PHP framework inspired by FastAPI.

0.1.2(3mo ago)07MITPHPPHP &gt;=8.2

Since Feb 21Pushed 3mo agoCompare

[ Source](https://github.com/MusieTesfaye/Fastor)[ Packagist](https://packagist.org/packages/fastor/fastor)[ RSS](/packages/fastor-fastor/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (14)Versions (4)Used By (0)

Fastor
======

[](#fastor)

High-performance, async-by-default PHP framework inspired by FastAPI.

Features
--------

[](#features)

- **Blazing Fast**: Built on OpenSwoole for maximum performance (&gt;15k RPS with full validation).
- **Async by Default**: Fully supports coroutines and non-blocking I/O.
- **Elite Caching**: Integrated Symfony Cache with boot-time warmup and native support for Redis, APCu, and Filesystem.
- **Pydantic-like Validation**: Extensible, type-safe request/response DTO validation using the `Constraint` system.
- **Automatic OpenAPI**: Generates Swagger UI and OpenAPI JSON automatically.
- **Pluggable Database**: Use any ORM (Eloquent, Cycle) or raw PDO via Dependency Injection.

Installation
------------

[](#installation)

```
composer require fastor/fastor
```

After installation, the `fastor` CLI tool can be installed to your project root by running:

```
php vendor/bin/fastor init
```

This creates a `./fastor` executable in your root for easier access. It's also always available at `vendor/bin/fastor`.

Quick Start
-----------

[](#quick-start)

Create a `main.php`:

```
