A shorthand library for RedBeanPHP

Installs: 23

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/daviddeutsch/rx

dev-master 2013-12-27 14:28 UTC

This package is not auto-updated.

Last update: 2025-09-27 20:24:09 UTC


README

A shorthand library for RedBeanPHP

CAUTION: Large parts of this are untested and I'm making stuff up as I go along

An Extended Facade

$type = R::_( 'type' ); // Dispense beans

$type = R::_( 'type', $id ); // Load beans

R::_( $bean ); // Store beans

Learn more about the Facade

A short, fluid helper for finding beans

/**
 * Search for a project
 */
$project = R::$x->project->name($name)->find();

/**
 * Actually, if you can't find one, make one with that data
 */
$project = R::$x->project->name($name)->find(true);

Learn more about the Find Helper