PHPackages                             roydejong/php-activerecord-utils - 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. roydejong/php-activerecord-utils

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

roydejong/php-activerecord-utils
================================

Utilities for composing queries in php-activerecord.

0483PHP

Since Aug 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/roydejong/php-activerecord-utils)[ Packagist](https://packagist.org/packages/roydejong/php-activerecord-utils)[ RSS](/packages/roydejong-php-activerecord-utils/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

✍ `php-activerecord-utils`
==========================

[](#-php-activerecord-utils)

**Simple utilities that make writing `php-activerecord` queries more convenient.**

[![Latest Stable Version](https://camo.githubusercontent.com/94737ffaa80681f08246ff21086eba855445445fcd6f0b720d2a89a4f0bc7a06/68747470733a2f2f706f7365722e707567782e6f72672f726f7964656a6f6e672f7068702d6163746976657265636f72642d7574696c732f762f737461626c65)](https://packagist.org/packages/roydejong/php-activerecord-utils)[![Build Status](https://camo.githubusercontent.com/e0c0f1fe4fb152e09b1c009ac6599ec41ef7e969560f55be67c36730f849e516/68747470733a2f2f7472617669732d63692e6f72672f726f7964656a6f6e672f7068702d6163746976657265636f72642d7574696c732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/roydejong/php-activerecord-utils)[![License](https://camo.githubusercontent.com/cdb261861792bc063f58381e43c0bcf7a4b0a4a20e123537cde7bd18dc2337b8/68747470733a2f2f706f7365722e707567782e6f72672f726f7964656a6f6e672f7068702d6163746976657265636f72642d7574696c732f6c6963656e7365)](https://packagist.org/packages/roydejong/php-activerecord-utils)

Getting started
---------------

[](#getting-started)

Add this library as a [Composer](https://getcomposer.org/) dependency:

```
composer require roydejong/php-activerecord-utils

```

Once included, you'll be able to autoload the desired classes from the `ActiveRecordUtils\` namespace.

Conditions
----------

[](#conditions)

`ActiveRecordUtils\Composers\Conditions` lets you elegantly compose readable `conditions` parameters for activerecord queries.

### Basic usage

[](#basic-usage)

```
