Download the PHP package pivotphp/core-routing without Composer
On this page you can find all versions of the php package pivotphp/core-routing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package core-routing
PivotPHP Core Routing
Modular, high-performance routing system for PivotPHP with Express.js-inspired API and full PSR compliance.
Features
- Express.js-Inspired API: Familiar routing patterns (
get(),post(),put(),delete(), etc.) - High Performance: Multi-level caching, route indexing, and memory optimization
- PSR Compliant: Full PSR-7 (HTTP), PSR-15 (Middleware), PSR-6/PSR-16 (Cache) support
- Plugin System: Extensible architecture with built-in plugins
- File Caching: Persistent route compilation for faster startup
- Static File Serving: Express-style static file management
- Type Safety: Strict typing with PHPStan Level 9 compliance
- Modular: Use independently or integrate with PivotPHP Core
Installation
Quick Start
Advanced Features
Plugin System
File Caching
Static Files
Requirements
- PHP 8.1 or higher
- PSR-7 HTTP Message implementation
- PSR-15 HTTP Server Handler implementation
Testing
Performance
PivotPHP Core Routing is designed for high performance:
- Multi-level caching: Exact match, compiled routes, pattern cache
- Route indexing: O(1) group lookups, method-based indexing
- Memory management: Automatic garbage collection, usage tracking
- Static/Dynamic separation: Optimized matching strategies
Documentation
- Full Documentation
- Migration Guide
- Plugin Development
- Performance Tuning
License
MIT License - see LICENSE file for details.
Community
- GitHub Issues
- Contributing
Credits
Created by Carlos Fernandes and the PivotPHP community.
Inspired by Express.js routing and built with modern PHP best practices.
All versions of core-routing with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
psr/http-message Version ^1.1|^2.0
psr/http-server-middleware Version ^1.0
psr/http-factory Version ^1.0
psr/container Version ^1.1|^2.0
psr/simple-cache Version ^2.0|^3.0
psr/cache Version ^2.0|^3.0
psr/http-message Version ^1.1|^2.0
psr/http-server-middleware Version ^1.0
psr/http-factory Version ^1.0
psr/container Version ^1.1|^2.0
psr/simple-cache Version ^2.0|^3.0
psr/cache Version ^2.0|^3.0
The package pivotphp/core-routing contains the following files
Loading the files please wait ...