Skip to content

daviddeutsch/redbean-instance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

RedBean Instance

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);

About

If you are juggling databases, a static Facade won't do. You need instances!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages