Download the PHP package ivanmercedes/hermes without Composer
On this page you can find all versions of the php package ivanmercedes/hermes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ivanmercedes/hermes
More information about ivanmercedes/hermes
Files in ivanmercedes/hermes
Download ivanmercedes/hermes
More information about ivanmercedes/hermes
Files in ivanmercedes/hermes
Vendor ivanmercedes
Package hermes
Short Description A fast, attribute-based HTTP router for PHP inspired by FastAPI.
License MIT
Package hermes
Short Description A fast, attribute-based HTTP router for PHP inspired by FastAPI.
License MIT
Please rate this library. Is it a good library?
Informations about the package hermes
Hermes Router
A fast, attribute-based HTTP router for PHP inspired by FastAPI.
Español | English
Features
- Fast & Lightweight - Optimized for performance with minimal overhead
- Attribute-Based Routing - Use PHP 8 attributes to define routes directly on controller methods
- RESTful - Built-in support for GET, POST, PUT, DELETE HTTP methods
- Dynamic Route Parameters - Extract URL parameters with ease
- Zero Configuration - Works out of the box
Requirements
- PHP 8.3 or higher
Installation
Install via Composer:
Quick Start
1. Create a Controller
2. Bootstrap the Router
3. Run the Server
Test your endpoints:
Available HTTP Method Attributes
#[Get('/path')]- Handle GET requests#[Post('/path')]- Handle POST requests#[Put('/path')]- Handle PUT requests#[Delete('/path')]- Handle DELETE requests
Route Parameters
Extract parameters from URLs using curly braces:
Project Structure
Examples
Check the examples/ directory for complete working examples:
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Roadmap
- [ ] Middleware support
- [ ] Route groups
- [ ] Route naming
- [ ] URL generation
- [ ] Request validation
- [ ] Response formatting
Made with ❤️ by Ivan Mercedes
All versions of hermes with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
The package ivanmercedes/hermes contains the following files
Loading the files please wait ...