PHPackages                             vaibhavpandeyvpz/tez - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. vaibhavpandeyvpz/tez

ActiveLibrary[HTTP &amp; Networking](/categories/http)

vaibhavpandeyvpz/tez
====================

Fast and simple enough, framework agnostic, RegExp based HTTP router for micro-services and REST APIs.

3.0.0(4mo ago)35561MITPHPPHP ^8.2CI passing

Since Sep 17Pushed 4mo ago3 watchersCompare

[ Source](https://github.com/vaibhavpandeyvpz/tez)[ Packagist](https://packagist.org/packages/vaibhavpandeyvpz/tez)[ Docs](https://github.com/vaibhavpandeyvpz/tez)[ RSS](/packages/vaibhavpandeyvpz-tez/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (6)Used By (1)

Tez
===

[](#tez)

Fast and simple enough, framework agnostic, RegExp based HTTP router for micro-services and REST APIs.

> Tez: `तेज` (Fast)

[![Latest Version](https://camo.githubusercontent.com/6223c1e5021edde5e99a73982b4813aed302e44b38b2d5cffb7c6f46994d9f67/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7661696268617670616e64657976707a2f74657a2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vaibhavpandeyvpz/tez)[![Downloads](https://camo.githubusercontent.com/0dbbfb4758488eb86e55cfa3869edc637227cc992cd1c1736d9b8d0f541b63e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7661696268617670616e64657976707a2f74657a2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vaibhavpandeyvpz/tez)[![PHP Version](https://camo.githubusercontent.com/7982e090c2edd35181937a54b98dae846af463f567ca4ab6a1790d8c15bb74ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7661696268617670616e64657976707a2f74657a2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vaibhavpandeyvpz/tez)[![License](https://camo.githubusercontent.com/4672a1871a179d1f2617d99dcf1ca0a05216f19e485ea8dd7e6b049740e983a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7661696268617670616e64657976707a2f74657a2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/8c2745a3a14b387e0b75b75d3cccaddae921115abb167d72730238b82243b694/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7661696268617670616e64657976707a2f74657a2f74657374732e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/vaibhavpandeyvpz/tez/actions)

Features
--------

[](#features)

- 🚀 **Fast**: Compiled regex patterns with caching for optimal performance
- 🎯 **Simple**: Clean, intuitive API with minimal learning curve
- 🔧 **Flexible**: Framework agnostic - use with any PHP application
- 📝 **Type-safe**: Full PHP 8.2+ type hints and modern language features
- 🎨 **Powerful**: Route parameter capture with custom assertions
- 🔗 **Grouping**: Nested route groups with common prefixes
- ⚡ **Caching**: Precompile routes for production deployments

Requirements
------------

[](#requirements)

- PHP 8.2 or higher

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

[](#installation)

Install via Composer:

```
composer require vaibhavpandeyvpz/tez
```

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

[](#quick-start)

```
