daviddeutsch/redbean-instance

Instead of using the RedBean facade, use an instance of it.

Installs: 16

Dependents: 0

Suggesters: 3

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 1

pkg:composer/daviddeutsch/redbean-instance

dev-master 2014-01-01 17:47 UTC

This package is not auto-updated.

Last update: 2025-10-11 20:25:19 UTC


README

In a number of situations, a monolithic facade is not desirable. You need Instances.

Here, have an instance.

Usage

// Include or autoload the files in this library

$db = new RedBean_Instance();

// All static method calls are regular method calls now
$project = $db->dispense('project');

$project->name = 'Hello';

$db->store($project);