2017 © Pedro Peláez
 

library rx

A shorthand library for RedBeanPHP

image

daviddeutsch/rx

A shorthand library for RedBeanPHP

  • Friday, December 27, 2013
  • by daviddeutsch
  • Repository
  • 1 Watchers
  • 2 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

rx

A shorthand library for RedBeanPHP, (*1)

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, (*2)

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, (*3)

The Versions

27/12 2013

dev-master

9999999-dev

A shorthand library for RedBeanPHP

  Sources   Download

BSD

The Requires