config
config.php – where the nuts and bolts hang out
//Step 1: use Query
use Prosper\Query;
//Step 2: set up your path
define('PROSPER_PATH', '../lib/');
//Step 3: require all adapters
require_once PROSPER_PATH . 'adapters/_all_.php';
//Step 4: require Query, the heart and soul of prosper
require_once PROSPER_PATH . 'Query.php';
//Step 5: configure
Query::configure(
MYSQL_MODE, //Database type
'phpuser', //Username
'phppwd', //Password
'localhost', //Hostname
'test'); //Schema
So that’s all there is to configuring Prosper, you are now hooked up to your backend and Prosper can start issuing queries.