{"repo":"timgws/QueryBuilderParser","free":true,"listed":false,"github":"https://github.com/timgws/QueryBuilderParser","clone":"git clone https://github.com/timgws/QueryBuilderParser.git","description":"A simple to use query builder for the jQuery QueryBuilder plugin for use with Laravel.","language":"PHP","stars":160,"topics":["jquery-querybuilder","query-builder","laravel","eloquent","mongodb","datatables","faceted-search"],"license":"MIT","category":"databases-storage","readme_excerpt":"QueryBuilderParser Status Label Status Value -------------- ------------- Build Test Coverage QueryBuilderParser is designed mainly to be used inside Laravel projects, however it can be used outside Laravel projects by using Illuminate/Database. A simple to use query builder for the jQuery QueryBuilder plugin. Using QueryBuilderParser Building a new query from QueryBuilder rules. This query when posted will create the following SQL query: Getting results from MongoDB This query when posted will create the following MongoDB query: Note that to use this you will need to install and configure jenssegers/mongodb . Integration examples Integrating with jQuery Datatables Mixed with Datatables, jQuery QueryBuilder makes for some true awesome, allowing limitless options for filtering data, and seeing the results on the fly. On the client side, a little bit of magic is required to make everything work. Using JoinSupportingQueryBuilderParser JoinSupportingQueryBuilderParser is a version of QueryBuilderParser that supports building even more complex queries. Which will build an SQL query similar to: For simple queries, QueryBuilderParser should be enough. Exporting CSV files Just as a footnote, there are right ways to export CSV files, and there are wrong ways. For the right way, check out the question on StackOverflow, How can I output a UTF-8 CSV in PHP that Excel will read properly? Reporting Issues I use this code in a number of my projects, so if you do find an issue, please feel f","default_branch":null,"files":null,"tree":[],"storefront":"/r/timgws","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/timgws/QueryBuilderParser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}