Fiber: A simple PHP interface to CouchDB

Fiber from Luis Gomez is a simple way to add CouchDB storage to your PHP app.

Given a User class that extends a Fiber Document:

$user = User::find('john');
$user->email = "john@example.com";
$user->city = "San Francisco";
$user->save();

Fiber also includes some nifty chaining:

$user->set( array( "email" => "peter@example.com", "city" => "Caracas" ) )->save();

Check out the examples in the source.

[Source on GitHub]

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

Beyond Code: Season 3 / GopherCon 2015

 
0:00 / 0:00