Registry / orm / gabordemooij-redbean

gabordemooij-redbean

JSON →
library5.7.6phppackagistunverified

RedBeanPHP ORM is a lightweight, zero-configuration ORM for PHP.

ormdatabase
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use RedBeanPHP\R;

Set up a database connection and store a new bean.

use RedBeanPHP\R; R::setup('mysql:host=localhost;dbname=mydb', 'user', 'pass'); $bean = R::dispense('book'); $bean->title = 'My Book'; $id = R::store($bean);
Debug
Known footguns
gotchaRedBeanPHP uses a fluid schema by default, which can lead to unexpected database changes in production.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
28 hits · last 30 days
gptbot
3
amazonbot
3
bytedance
3
claudebot
3
mj12bot
1
ahrefsbot
1
Resources