PHPackages                             higrow/raql-php - 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. [Database &amp; ORM](/categories/database)
4. /
5. higrow/raql-php

ActiveLibrary[Database &amp; ORM](/categories/database)

higrow/raql-php
===============

1.0.0.x-dev(3y ago)11MITPHP

Since Nov 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lucafabbri/raql-php)[ Packagist](https://packagist.org/packages/higrow/raql-php)[ Docs](https://lucafabbri.github.io/raql/)[ Patreon](https://www.patreon.com/lucafabbri)[ RSS](/packages/higrow-raql-php/feed)WikiDiscussions 1.0.0 Synced yesterday

READMEChangelogDependencies (2)Versions (2)Used By (0)

RAQL.PHP
========

[](#raqlphp)

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

[](#installation)

you can install the library using composer

```
composer require higrow/raql-php
```

Usage
-----

[](#usage)

### Laravel/Eloquent

[](#laraveleloquent)

Create a model that uses RAQLTrait

```
use RAQL\PHP\Eloquent\RAQLTrait;

class MyModel extends Model
{
  use RAQLTrait;
  ...
}
```

Call the .raql($query) Query Builder extension method

```
class Controller extends BaseController
{
  function queryMyModel()
  {
    $query = "(field1 like 'name' or field1 = 'mario') and field2 >=10";
    return MyModel::raql($query)->get();
  }
}
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1311d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36f581be9ab8b88ece1d6f62e5d32dff9dd7d571f7243c80b22203d75198f181?d=identicon)[lucafabbri](/maintainers/lucafabbri)

---

Top Contributors

[![mrdevrobot](https://avatars.githubusercontent.com/u/12503462?v=4)](https://github.com/mrdevrobot "mrdevrobot (7 commits)")

---

Tags

laravelraql

### Embed Badge

![Health badge](/badges/higrow-raql-php/health.svg)

```
[![Health](https://phpackages.com/badges/higrow-raql-php/health.svg)](https://phpackages.com/packages/higrow-raql-php)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11223.5M33](/packages/anourvalar-eloquent-serialize)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[ramadan/easy-model

A Laravel package for enjoyably managing database queries.

111.6k](/packages/ramadan-easy-model)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
