PHPackages                             progrmanial/fast-api - 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. [API Development](/categories/api)
4. /
5. progrmanial/fast-api

ActiveLibrary[API Development](/categories/api)

progrmanial/fast-api
====================

Standardised API Management Package

v2.8.0(5mo ago)02.5k2MITPHPPHP ^8.0

Since Oct 24Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/imransaadullah/fast-api)[ Packagist](https://packagist.org/packages/progrmanial/fast-api)[ RSS](/packages/progrmanial-fast-api/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (1)Versions (25)Used By (0)

FastAPI Framework
=================

[](#fastapi-framework)

FastAPI is a lightweight, powerful PHP framework designed to make building APIs fast, simple, and efficient. It provides a comprehensive set of features and tools to streamline the development process, allowing developers to focus on writing clean and maintainable code.

🚀 Features
----------

[](#-features)

- **Advanced Routing**: Intuitive routing system with route groups, prefixes, and nested structures
- **Laravel-Style Syntax**: String middleware and Controller@method syntax support
- **Middleware System**: Powerful middleware pipeline with auto-resolution
- **JWT Token Handling**: Complete JWT token generation, verification, and refresh capabilities
- **Request/Response Handling**: Rich HTTP request and response objects with multiple content types
- **Custom Time Utilities**: Advanced date/time manipulation and formatting
- **String &amp; Array Utilities**: Comprehensive utility methods for common operations
- **Rate Limiting**: Revolutionary auto-fallback rate limiting with Redis → File fallback chain
- **WebSocket Support**: Real-time WebSocket server with broadcasting and event queue capabilities
- **Event Queue System**: Queue WebSocket events from your API for real-time notifications
- **100% Backward Compatible**: All new features preserve existing functionality
- **Type Safety**: Proper error handling and validation throughout
- **Singleton App Pattern**: Efficient application lifecycle management
- **Clean Architecture**: Refactored App class with no duplicate methods and clear separation of concerns

📦 Installation
--------------

[](#-installation)

Install FastAPI using Composer:

```
composer require progrmanial/fast-api
```

🏁 Quick Start
-------------

[](#-quick-start)

### Basic Application Setup

[](#basic-application-setup)

```
