Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adaiasmagdiel/hermes

Hermes is a experimental lightweight PHP library for routing management. It provides a simple and intuitive way to define routes and execute actions based on HTTP requests.
https://github.com/adaiasmagdiel/hermes

experimental http lightweight mythology oop oriented-object-programming php router routing web web-development

Last synced: 5 days ago
JSON representation

Hermes is a experimental lightweight PHP library for routing management. It provides a simple and intuitive way to define routes and execute actions based on HTTP requests.

Awesome Lists containing this project

README

        

# Hermes





The image was generated using AI.

[![Latest Stable Version](http://poser.pugx.org/adaiasmagdiel/hermes/v)](https://packagist.org/packages/adaiasmagdiel/hermes)
[![Total Downloads](http://poser.pugx.org/adaiasmagdiel/hermes/downloads)](https://packagist.org/packages/adaiasmagdiel/hermes)
[![License](http://poser.pugx.org/adaiasmagdiel/hermes/license)](https://packagist.org/packages/adaiasmagdiel/hermes)
[![PHP Version Require](http://poser.pugx.org/adaiasmagdiel/hermes/require/php)](https://packagist.org/packages/adaiasmagdiel/hermes)

Hermes is an experimental lightweight PHP library for routing management. It provides a simple and intuitive way to define routes and execute actions based on HTTP requests.

## Navigation

- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Documentation](#documentation)
- [Tests](#tests)
- [License](#license)
- [Contributing](#contributing)
- [Credits](#credits)

## Features

- Define routes easily using HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS and PATCH).
- Execute actions based on requested routes.
- Lightweight, experimental, and easy to integrate into existing projects.

## Installation

You can install Hermes via composer.

```bash
composer require adaiasmagdiel/hermes
```

## Usage

Here's a basic example of how to use Hermes:

```php