PHPackages                             weirongxu/laravel-query-route - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. weirongxu/laravel-query-route

ActiveLibrary[API Development](/categories/api)

weirongxu/laravel-query-route
=============================

laravel5 routing into url query

v1.2.0(9y ago)4192[1 PRs](https://github.com/weirongxu/laravel-query-route/pulls)MITPHP

Since Aug 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/weirongxu/laravel-query-route)[ Packagist](https://packagist.org/packages/weirongxu/laravel-query-route)[ RSS](/packages/weirongxu-laravel-query-route/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (5)Used By (0)

laravel-query-route
===================

[](#laravel-query-route)

Change laravel5 routing into query

Its useful when you can not use `.htaccess`

Some url transform examples

- `http://localhost:8000/path` to `http://localhost:8080/?_=/path`
- `http://localhost/path/to/?a=1&b=2` to `http://localhost/?a=1&b=2&_=/path/to/`

Installation
------------

[](#installation)

Install with composer

```
composer require weirongxu/laravel-query-route
```

### Add the service provider to `config/app.php`

[](#add-the-service-provider-to-configappphp)

```
