Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/acelaya/expressive-slim-router

A router for Zend Expressive based on Slim framework's implementation
https://github.com/acelaya/expressive-slim-router

Last synced: about 1 month ago
JSON representation

A router for Zend Expressive based on Slim framework's implementation

Awesome Lists containing this project

README

        

# Expressive Slim Router

[![Build Status](https://travis-ci.org/acelaya/expressive-slim-router.svg?branch=master)](https://travis-ci.org/acelaya/expressive-slim-router)
[![Code Coverage](https://scrutinizer-ci.com/g/acelaya/expressive-slim-router/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/acelaya/expressive-slim-router/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/acelaya/expressive-slim-router/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/acelaya/expressive-slim-router/?branch=master)
[![Latest Stable Version](https://poser.pugx.org/acelaya/expressive-slim-router/v/stable.png)](https://packagist.org/packages/acelaya/expressive-slim-router)
[![Total Downloads](https://poser.pugx.org/acelaya/expressive-slim-router/downloads.png)](https://packagist.org/packages/acelaya/expressive-slim-router)
[![License](https://poser.pugx.org/acelaya/expressive-slim-router/license.png)](https://packagist.org/packages/acelaya/expressive-slim-router)

A router for Zend Expressive based on Slim framework's implementation.

I decided to do this implementation because Slim's router supports optional params at the beginning of the path, while other Expressive supported routers don't.

## Installation

Install this package with composer

`composer require acelaya/expressive-slim-router`

## Usage

You just need to register the include this package's `ConfigProvider` in your project's configuration.

```php