Download the PHP package denosyscore/routing without Composer
On this page you can find all versions of the php package denosyscore/routing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download denosyscore/routing
More information about denosyscore/routing
Files in denosyscore/routing
Download denosyscore/routing
More information about denosyscore/routing
Files in denosyscore/routing
Vendor denosyscore
Package routing
Short Description DenosysCore: Fast PSR-7 Router and Dispatcher PHP package with PSR-15 Middleware support
License MIT
Homepage https://github.com/denosyscore/routing
Package routing
Short Description DenosysCore: Fast PSR-7 Router and Dispatcher PHP package with PSR-15 Middleware support
License MIT
Homepage https://github.com/denosyscore/routing
Please rate this library. Is it a good library?
Informations about the package routing
Denosys Routing
A highly efficient and flexible routing package for PHP, designed to support modern web applications with minimal overhead.
Features
- Fast Route Matching: Utilizes a trie data structure for efficient route matching.
- Flexible Handlers: Supports various types of handlers (closures, arrays, strings).
- PSR-7 Compliant: Compatible with PSR-7 HTTP message interfaces.
- PSR-15 Middleware Support: Allows middleware to be attached to routes.
- Customizable Invocation Strategies: Define how route handlers are invoked.
- Dependency Injection: Integrates with PSR-11 containers for automatic dependency resolution.
- Dynamic and Static Routes: Easily define and handle both dynamic and static routes.
Requirements
- PHP 8.1 or later
Usage
Install the package using Composer:
Install a PSR-7 implementation, such as Laminas Diactoros:
Here's a simple example of how to define routes and handle requests:
Adding Routes
You can add routes using various HTTP methods:
Full documentation coming soon...
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.
All versions of routing with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
psr/container Version ^2.0
psr/http-factory Version ^1.1
psr/http-message Version ^2.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
psr/container Version ^2.0
psr/http-factory Version ^1.1
psr/http-message Version ^2.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
The package denosyscore/routing contains the following files
Loading the files please wait ....