承接 yfc/search-parser 相关项目开发

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

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

yfc/search-parser

Composer 安装命令:

composer require yfc/search-parser

包简介

Inno PHP Library

README 文档

README

Use JavaCC instead

click me

Install

composer require yufangcheng/search-parser

Add the provider below to config/app.app

Inno\Lib\SearchParser\Providers\SearchParserServiceProvider::class

Then run the command

php artisan vendor:publish

Example

http://example.com/api/users?q=id:1
http://example.com/api/users?email~"*@gmail.com"
http://example.com/api/users?id:<1,2,3>
http://example.com/api/users?id:NOT <1,2,3>
http://example.com/api/users?id:[1 TO 100]
http://example.com/api/users?q=created_at:["-3 months" TO "now"] AND id:NOT [1 TO 100] OR (email:"*@vip.patsnap.com" OR id:888)&sort=id desc&fl=id,email&with=profile

To avoid the cut off of a too long URL by browser or server

Use the optianal header named search to transmit the query string.

Field name pattern

Pattern
/^[a-zA-Z_][a-zA-Z0-9_]*$/i

Function name pattern

Pattern
/^[a-z]\w*$/i

Operators

Operators Meaning Supported Value Types Example

Incomplete...

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固