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
Requires
- gabordemooij/redbean: >=3.2,<4.0
Suggests
- daviddeutsch/redbean-prefix: For when you absolutely, positively need prefixed table names.
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);