alexsabebe/php-router

I try to build PHP router package to make for developer esay work load anlso course purpose

Maintainers

Package info

github.com/alemayehuabebe01/php-router-package

pkg:composer/alexsabebe/php-router

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2025-05-02 14:06 UTC

This package is auto-updated.

Last update: 2026-03-30 16:04:42 UTC


README

Latest Version License Build Status Coverage Status PHP Version

A lightweight, high-performance PHP router with middleware support and RESTful routing capabilities.

Features

  • RESTful routing (GET, POST, PUT, PATCH, DELETE)
  • Middleware pipeline support
  • Route parameters with custom regex patterns
  • Route groups and prefixing
  • CSRF protection
  • CORS configuration
  • PSR-7 and PSR-15 compliant
  • Dependency injection support
  • Built-in validation
  • Cache control headers

Installation

Install via Composer:

composer require alexsabebe/php-router