The lightest PHP database framework to accelerate development

Version: 0.9.8.3 [14.5KB]
download
Love Medoo?

Why Medoo

Get Started

Download Medoo and put it into the directory you want.
And use it on your project with only 3 step!

// Include Medoo
require_once 'medoo.php';

// Initialize
$database = new medoo([
	'database_type' => 'mysql',
	'database_name' => 'name',
	'server' => 'localhost',
	'username' => 'your_username',
	'password' => 'your_password',
	'charset' => 'utf8'
]);

// Enjoy
$database->insert('account', [
	'user_name' => 'foo'
	'email' => 'foo@bar.com',
	'age' => 25,
	'lang' => ['en', 'fr', 'jp', 'cn']
]);

// Or configure the info from medoo.php, and then
$database = new medoo();
* On PHP 5.4+, you can use [] as short array syntax.