Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/acelaya/expressive-slim-router
- Owner: acelaya
- License: mit
- Created: 2015-09-20T09:10:37.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-01-05T07:40:02.000Z (almost 6 years ago)
- Last Synced: 2024-08-09T05:51:53.318Z (3 months ago)
- Language: PHP
- Size: 19.5 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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