awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
nikic avatar

nikic/FastRoute

0
View on GitHub↗
5,270 Stars·451 Forks·PHP·8 Aufrufe

FastRoute

FastRoute ist ein PHP-Request-Router, der eingehende HTTP-Request-URIs spezifischen Handlern zuordnet. Er fungiert als Regular-Expression-Router, der dynamische Request-Pfade mit Mustern abgleicht, um Variablen zu extrahieren und Datenverkehr zu routen.

Das Projekt arbeitet als gecachter Route-Dispatcher, der vorkompilierte Routing-Tabellen speichert, um den Overhead des Parsens von Definitionen bei jedem Request zu eliminieren. Es nutzt Regular-Expression-Gruppierung, um mehrere Routenmuster in einer einzigen Operation zu kombinieren, was die Gesamtzahl der für die Auflösung erforderlichen Abgleichschritte reduziert.

Die Bibliothek deckt die Verwaltung dynamischer API-Endpunkte durch die Verwendung von Platzhaltermustern und optionalen Segmenten ab. Sie bietet Funktionen für gruppenbasiertes Präfixing zur Organisation von Endpunkten und ermöglicht benutzerdefinierte Routing-Logik durch den Austausch von Parser, Datengenerator oder Dispatcher.

Features

  • PHP Routing Libraries - Provides a high-performance routing library for the PHP runtime using optimized matching algorithms.
  • HTTP Request Routers - Provides a fast routing library that maps HTTP request URIs to specific handlers.
  • URI-to-Controller Mappings - Maps incoming HTTP request URIs to specific handlers using flexible patterns and optional segments.
  • Custom Web Route Dispatching - Implementing specialized URI parsing and dispatching strategies to control how web requests are handled.
  • Dynamic API Routing - Handles flexible URL patterns and optional segments to route API requests to the correct business logic.
  • Regular Expression Routers - Matches dynamic request paths against regular expression patterns to extract variables and route traffic.
  • Handler Dispatchers - Decouples URI matching from execution via a dedicated dispatching layer that maps patterns to handler functions.
  • Dynamic Segment Extraction - Uses placeholder patterns within URIs to capture dynamic path segments and pass them as arguments to handlers.
  • Cached Dispatchers - Uses a cached routing mechanism to eliminate the overhead of parsing route definitions on every request.
  • Regular Expression Grouping - Combines multiple route patterns into a single large regular expression to minimize the number of matching operations.
  • Prefix Groupings - Supports nesting route definitions under shared path prefixes to organize endpoints and reduce repetition.
  • Server-Side Route Caching - Stores pre-computed routing tables to bypass the definition process and speed up request dispatching.
  • Route Table Caching - Implements a cached route dispatcher that stores pre-computed routing tables in static files to eliminate parsing overhead.
  • Routing and Templating - High-performance routing library.

Star-Verlauf

Star-Verlauf für nikic/fastrouteStar-Verlauf für nikic/fastroute

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht nikic/fastroute?

FastRoute ist ein PHP-Request-Router, der eingehende HTTP-Request-URIs spezifischen Handlern zuordnet. Er fungiert als Regular-Expression-Router, der dynamische Request-Pfade mit Mustern abgleicht, um Variablen zu extrahieren und Datenverkehr zu routen.

Was sind die Hauptfunktionen von nikic/fastroute?

Die Hauptfunktionen von nikic/fastroute sind: PHP Routing Libraries, HTTP Request Routers, URI-to-Controller Mappings, Custom Web Route Dispatching, Dynamic API Routing, Regular Expression Routers, Handler Dispatchers, Dynamic Segment Extraction.

Welche Open-Source-Alternativen gibt es zu nikic/fastroute?

Open-Source-Alternativen zu nikic/fastroute sind unter anderem: symfony/routing — This PHP routing library is an HTTP request router and matcher designed to map incoming URL paths to specific… joeldev/jlroutes — JLRoutes is an iOS URL routing library and route management framework. It serves as a deep link handler that maps URL… symfony/framework-bundle — This project serves as the core integration layer for building full-stack web applications in PHP. It provides a… daveh/php-mvc — This project is a lightweight PHP framework designed for building web applications using the model-view-controller… aplus-framework/routing — This project is a framework-agnostic routing component for PHP applications designed to map incoming web requests to… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web…

Open-Source-Alternativen zu FastRoute

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit FastRoute.
  • symfony/routingAvatar von symfony

    symfony/routing

    7,618Auf GitHub ansehen↗

    This PHP routing library is an HTTP request router and matcher designed to map incoming URL paths to specific controller actions using defined patterns and configuration. It serves as a programmatic interface for defining, loading, and resolving URL patterns, while providing a URL generator to produce absolute or relative URIs from route names and parameters. The system supports diverse route loading through YAML, XML, PHP arrays, and class attributes, utilizing compiled route matching to optimize performance. It enables sophisticated request handling through regex-based path matching, sub-do

    PHPcomponentphprouter
    Auf GitHub ansehen↗7,618
  • joeldev/jlroutesAvatar von joeldev

    joeldev/JLRoutes

    5,709Auf GitHub ansehen↗

    JLRoutes is an iOS URL routing library and route management framework. It serves as a deep link handler that maps URL patterns to specific code blocks or object handlers to manage navigation and deep-linking within an application. The framework utilizes a chain-based evaluation system to process sequences of potential matches and supports the organization of routing tables into distinct sets based on URL schemes. It allows for the replacement of standard matching logic through custom definition resolution to control how paths are parsed. The system covers URL pattern mapping, dynamic paramet

    Objective-Capplinkcarthagecocoapods
    Auf GitHub ansehen↗5,709
  • daveh/php-mvcAvatar von daveh

    daveh/php-mvc

    815Auf GitHub ansehen↗

    This project is a lightweight PHP framework designed for building web applications using the model-view-controller architectural pattern. It provides a structured environment that separates business logic, data management, and user interface presentation into distinct layers to improve code maintainability. The framework utilizes a front-controller to intercept all incoming web traffic, routing requests to specific controller actions based on defined URL patterns. It incorporates middleware-style request interception, allowing for the execution of custom logic such as authentication, security

    PHPmvc-frameworkphpphp-mvc
    Auf GitHub ansehen↗815
  • aplus-framework/routingAvatar von aplus-framework

    aplus-framework/routing

    252Auf GitHub ansehen↗

    This project is a framework-agnostic routing component for PHP applications designed to map incoming web requests to specific controller methods or functions. It serves as a utility for managing request dispatching and URL mapping within server-side web environments. The library identifies the correct handler by matching request URLs against predefined patterns using regular expressions and verifying the request verb against specific method requirements. It supports the construction of RESTful API endpoints and facilitates the execution of logic through a middleware pipeline that can inspect

    PHPaplusaplus-frameworkcomposer
    Auf GitHub ansehen↗252
Alle 30 Alternativen zu FastRoute anzeigen→