RedBeanPHP is a PHP library designed to boost developer productivity. RedBeanPHP is an ORM-like tool to easily store objects in a database.
: Added a new Tutorial to get you started with RedBeanPHP!
: Added a new Quick Tour, learn RedBeanPHP in 5 minutes.
: RedBeanPHP 4.2.4 has been released!
: RedBeanPHP 4.2.3 has been released! (performance issue fluid mode)
: RedBeanPHP 4.2.2 has been released!
: RedBeanPHP 4.2.1 has been released!
: RedBeanSupport.com now offers support for enterprise users
: RedBeanPHP 4.2 has been released!
: RedBeanPHP 4.2 Beta 8 is available!
: RedBeanPHP 4.2 Beta 1 is available!
: RedBeanPHP 4.1.4 has been released
: RedBeanPHP 4.1.3 has been released.
: RedBeanPHP 4.1.2 has been released.
: Migrated to new server.
Enterprise user ?
This is how you do CRUD in RedBeanPHP:
R::setAutoResolve( TRUE ); //Recommended as of version 4.2
$post = R::dispense( 'post' );
$post->text = 'Hello World';
$id = R::store( $post ); //Create or Update
$post = R::load( 'post', $id ); //Retrieve
R::trash( $post ); //Delete
This automatically generates the database, tables and columns... on-the-fly. It infers relations based on naming conventions. Download RedBeanPHP Now. RedBeanPHP is written by BDFL Gabor de Mooij and the RedBeanPHP community.
No verbose XML files, no annoying annotations, no YAML or INI. Zero Config. Just start coding.
During development, RedBeanPHP will adapt the database schema to fit
your needs, giving you the NoSQL experience.
When deploying to production servers, you can freeze the schema and
benefit from performance gains and referential integrity.
RedBeanPHP offers the best of both worlds!
RedBeanPHP is a compact library yet packed with features:
auto-discovery of models, deep copying and smart import
features will boost your productivity!
Write less, do more!
RedBeanPHP strives to support all ALL Free, Open Source databases.
Currently, RedBeanPHP supports: MySQL, MariaDB, SQLite, PostgreSQL and CUBRID.
Download the easy-to-use one-in-all package, one single file containing the entire RedBeanPHP library! No composer, no auto-loaders, no configuration, just download and run! Go to the download page and download to latest version of RedBeanPHP!
Photo 'Tulip Dreams 3' by Paulo Oliveira Santos