Medoo

The lightweight PHP database framework to accelerate the development.

What is Medoo?

The lightweight PHP database framework to accelerate the development.

Overview of Medoo

What it is

Medoo is a lightweight PHP database framework designed to accelerate development. It is a single-file package that keeps dependencies to a minimum and works with multiple database engines.

Key features

  • Lightweight: a single-file package with minimal dependencies - Easy: a clean, intuitive API for quick start - Powerful: supports complex SQL, data mapping, and prepared statements - Compatible: works with MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, Oracle, Sybase, and more - Friendly: fits naturally into Laravel, CodeIgniter, Yii, Slim, and other PHP frameworks - Free: released under the MIT license, free for personal or commercial projects

Use cases

Medoo is suitable for PHP projects that require a lightweight database abstraction layer. It can be used in small to medium applications, REST APIs, and any project where simplicity and performance are priorities. It integrates well with popular PHP frameworks.

Getting started

Install via Composer: bash $ composer require catfan/medoo Then update Composer: bash $ composer update Load the autoloader and create a connection: php require 'vendor/autoload.php'; use Medoo; $database = new Medoo([ 'type' => 'mysql', 'host' => 'localhost', 'database' => 'name', 'username' => 'your_username', 'password' => 'your_password' ]);

License and pricing

Medoo is released under the MIT License. It is free to use in personal or commercial projects.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/catfanmedoo.svg)](https://yunodb.com/tools/catfanmedoo?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/catfanmedoo?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/catfanmedoo.svg" alt="Featured on YunoDB" height="20"></a>