mzf / redbean

ORM layer that creates models, config and database on the fly

Home Page:http://www.redbeanphp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RedBeanPHP 4

Build Status

RedBeanPHP is an easy to use ORM tool for PHP.

  • Automatically creates tables and columns as you go
  • No configuration, just fire and forget
  • No complicated package tools, no autoloaders, just ONE file

Installation via Composer

Just open your composer.json file and add the package name (e.g. "gabordemooij/redbean": "dev-master") in your require list.

{
    "require": {
        "gabordemooij/redbean": "dev-master"
    }
}

If you not using composer then try it.

Quick Example

How we store a book object with RedBeanPHP:

$book = R::dispense("book");
$book->author = "Santa Claus";
$book->title = "Secrets of Christmas";
$id = R::store( $book );

Yep, it's that simple.

More information

For more information about RedBeanPHP please consult the RedBeanPHP website:

http://www.redbeanphp.com/

About

ORM layer that creates models, config and database on the fly

http://www.redbeanphp.com


Languages

Language:PHP 100.0%Language:Shell 0.0%