2017 © Pedro Peláez
 

library php-rql-parser

doctrine-odm query building wrapper to xiag-ag/rql-parser

image

graviton/php-rql-parser

doctrine-odm query building wrapper to xiag-ag/rql-parser

  • Sunday, April 15, 2018
  • by hairmare
  • Repository
  • 22 Watchers
  • 15 Stars
  • 18,548 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 35 Versions
  • 7 % Grown

The README.md

php-rql-parser - Query MongoDB using RQL in PHP

This is a wrapper around libgraviton/rql-parser that combines that parser with a small layer of mongodb integration., (*1)

This package adheres to SemVer versioning., (*2)

It uses a github version of git-flow in which new features and bugfixes must be merged to develop using a github pull request. It uses the standard git-flow naming conventions with the addition of a 'v' prefix to version tags., (*3)

Installation

Install it using composer., (*4)

composer require graviton/php-rql-parser

Usage

<?php

require 'vendor/autoload.php';

$rql = 'or(eq(name,foo)&eq(name,bar))';

/** @var \Doctrine\ODM\MongoDB\Query\Builder $builder */
$visitor = new \Graviton\Rql\Visitor\MongoOdm();
$visitor->setBuilder($builder);
$lexer = new \Graviton\RqlParser\Lexer;
$parser = \Graviton\RqlParser\Parser::createDefault();

// parse some Resource Query Language 
$rqlQuery = $parser->parse($lexer->tokenize($rql));

// get query
$query = $visitor->visit($rqlQuery)->getQuery();

// ...

Development

We welcome contributions on the develop branch., (*5)

The Versions

08/01 2018

dev-feature/update-rql-parser

dev-feature/update-rql-parser https://github.com/libgraviton/php-rql-parser

doctrine-odm query building wrapper to xiag-ag/rql-parser

  Sources   Download

GPL

The Requires

 

The Development Requires

mongodb language parser rest query resource mongo rql

09/08 2017

dev-feature/EVO-11245-string-rql-url-parsing

dev-feature/EVO-11245-string-rql-url-parsing https://github.com/libgraviton/php-rql-parser

doctrine-odm query building wrapper to xiag-ag/rql-parser

  Sources   Download

GPL

The Requires

 

The Development Requires

mongodb language parser rest query resource mongo rql

15/04 2016
14/03 2016
25/11 2015

dev-feature/test-id-searches

dev-feature/test-id-searches https://github.com/libgraviton/php-rql-parser

doctrine-odm query building wrapper to xiag-ag/rql-parser

  Sources   Download

GPL

The Requires

 

The Development Requires

mongodb language parser rest query resource mongo rql

20/10 2015
11/08 2015
03/08 2015
03/08 2015
31/07 2015
30/07 2015
27/07 2015

v2.0.0-alpha9

2.0.0.0-alpha9 https://github.com/libgraviton/php-rql-parser

doctrine-odm query building wrapper to xiag-ag/rql-parser

  Sources   Download

GPL

The Requires

 

The Development Requires

mongodb language parser rest query resource mongo rql

09/07 2015

v2.0.0-alpha8

2.0.0.0-alpha8 https://github.com/libgraviton/php-rql-parser

doctrine-odm query building wrapper to xiag-ag/rql-parser

  Sources   Download

GPL

The Requires

 

The Development Requires

mongodb language parser rest query resource mongo rql

22/06 2015

v2.0.0-alpha7

2.0.0.0-alpha7 https://github.com/libgraviton/php-rql-parser

doctrine-odm query building wrapper to xiag-ag/rql-parser

  Sources   Download

GPL

The Requires

 

The Development Requires

mongodb language parser rest query resource mongo rql

28/05 2015

v2.0.0-alpha6

2.0.0.0-alpha6 https://github.com/libgraviton/php-rql-parser

A standalone RQL (Resource Query Language) Parser with flexible usage possibilities

  Sources   Download

GPL

The Requires

 

The Development Requires

language parser rest query resource rql

25/05 2015

dev-feature/php-7-on-travis

dev-feature/php-7-on-travis https://github.com/libgraviton/php-rql-parser

A standalone RQL (Resource Query Language) Parser with flexible usage possibilities

  Sources   Download

GPL

The Requires

 

The Development Requires

language parser rest query resource rql

18/05 2015

v2.0.0-alpha5

2.0.0.0-alpha5 https://github.com/libgraviton/php-rql-parser

A standalone RQL (Resource Query Language) Parser with flexible usage possibilities

  Sources   Download

GPL

The Requires

 

The Development Requires

language parser rest query resource rql

13/05 2015

v2.0.0-alpha4

2.0.0.0-alpha4 https://github.com/libgraviton/php-rql-parser

A standalone RQL (Resource Query Language) Parser with flexible usage possibilities

  Sources   Download

GPL

The Requires

 

The Development Requires

language parser rest query resource rql

13/05 2015

v2.0.0-alpha3

2.0.0.0-alpha3 https://github.com/libgraviton/php-rql-parser

A standalone RQL (Resource Query Language) Parser with flexible usage possibilities

  Sources   Download

GPL

The Requires

 

The Development Requires

language parser rest query resource rql

25/03 2015

v2.0.0-alpha2

2.0.0.0-alpha2 https://github.com/libgraviton/php-rql-parser

A standalone RQL (Resource Query Language) Parser with flexible usage possibilities

  Sources   Download

GPL

The Requires

 

The Development Requires

language parser rest query resource rql

11/03 2015

v2.0.0-alpha1

2.0.0.0-alpha1 https://github.com/libgraviton/php-rql-parser

A standalone RQL (Resource Query Language) Parser with flexible usage possibilities

  Sources   Download

GPL

The Requires

 

The Development Requires

by Dario Nuevo

language parser rest query resource rql

18/02 2015

1.1.0

1.1.0.0 https://github.com/libgraviton/php-rql-parser

A standalone RQL (Resource Query Language) Parser with flexible usage possibilities

  Sources   Download

GPL

The Requires

  • php ~5.4

 

The Development Requires

by Dario Nuevo

language parser rest query resource rql

14/01 2015

1.0.0

1.0.0.0 https://github.com/libgraviton/php-rql-parser

A standalone RQL (Resource Query Language) Parser with flexible usage possibilities

  Sources   Download

GPL

The Requires

  • php ~5.4

 

The Development Requires

by Dario Nuevo

language parser rest query resource rql