承接 weirongxu/laravel-query-route 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

weirongxu/laravel-query-route

Composer 安装命令:

composer require weirongxu/laravel-query-route

包简介

laravel5 routing into url query

README 文档

README

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

Install with composer

composer require weirongxu/laravel-query-route

Add the service provider to config/app.php

<?php
Weirongxu\LaravelQueryRoute\ServiceProvider::class,
// Note: The `App\Providers\RouteServiceProvider::class` must before this provider

Use the Weirongxu\LaravelQueryRoute\Request replace laravel request in public/index.php

<?php
$response = $kernel->handle(
    // $request = Illuminate\Http\Request::capture()
    $request = Weirongxu\LaravelQueryRoute\Request::capture()
);

Generate package config by the publish command

php artisan vendor:publish --provider="Weirongxu\\LaravelQueryRoute\\ServiceProvider" --tag config

Configuration

the underscore path indicator "_" can be customized in config/query-route.php. Set query_name to "rpath" for example:

  • http://localhost/path/to/?a=1&b=2 to http://localhost/?a=1&b=2&rpath=/path/to/

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-08-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固