Ever wanted an easy to use ORM? Don’t like the complicated setups of other ORM frameworks?
redbeanphp will provide you a simple ORM but with the power of a complex one.
The perfectness of redbeanphp is that it will create your tables for you, update them if data does change.
// Create the dispenser $news = R::dispense('news'); // Assign the values $news->title = 'Red Bean PHP'; $news->status = 1; $news->date = time(); $news->content = 'Red Bean PHP Introduction on Codefuel'; // Save the content $id = R::store($news);