2017 © Pedro Peláez
 

framework medoo-transactional

The Lightest PHP database framework to accelerate development (with support for transactions)

image

joelalejandro/medoo-transactional

The Lightest PHP database framework to accelerate development (with support for transactions)

  • Tuesday, November 18, 2014
  • by joelalejandro
  • Repository
  • 0 Watchers
  • 0 Stars
  • 63 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 956 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Medoo

The Lightest PHP database framework to accelerate development, (*1)

Main Features

  • Lightweight - Only 14KB with one file., (*2)

  • Easy - Extremely easy to learn and use, friendly construction., (*3)

  • Powerful - Support various common and complex SQL queries., (*4)

  • Compatible - Support various SQL database, including MySQL, MSSQL, SQLite, MariaDB, Sybase, Oracle, PostgreSQL and more., (*5)

  • Security - Prevent SQL injection., (*6)

  • Free - Under MIT license, you can use it anywhere if you want., (*7)

  • Transaction-compatible - This fork exposes PDO transaction-related methods (beginTransaction, commit, rollback)., (*8)

Get Started

// Include Medoo (configured)
require_once 'medoo.php';

// Initialize
$database = new medoo();

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

// Or initialize via independent configuration
$database = new medoo([
    'database_type' => 'mysql',
    'database_name' => 'name',
    'server' => 'localhost',
    'username' => 'your_username',
    'password' => 'your_password',
]);

Contribution Guides

For most of time, Medoo is using develop branch for adding feature and fixing bug, and the branch will be merged into master branch while releasing a public version. For contribution, submit your code to the develop branch, and start a pull request into it., (*9)

On develop branch, each commits are started with [fix], [feature] or [update] tag to indicate the change., (*10)

Keep it simple and keep it clear., (*11)

Liscense

Medoo is under the MIT License., (*12)

The Versions

18/11 2014

dev-master

9999999-dev http://medoo.in

The Lightest PHP database framework to accelerate development (with support for transactions)

  Sources   Download

MIT

The Requires

  • php >=5.1
  • ext-pdo *

 

by Angel Lai

database sql mssql mysql sqlite

10/11 2014

dev-develop

dev-develop http://medoo.in

The Lightest PHP database framework to accelerate development

  Sources   Download

MIT

The Requires

  • php >=5.1
  • ext-pdo *

 

by Angel Lai

database sql mssql mysql sqlite

15/08 2014

v0.9.6.2

0.9.6.2 http://medoo.in

The Lightest PHP database framework to accelerate development

  Sources   Download

MIT

The Requires

  • php >=5.1
  • ext-pdo *

 

by Angel Lai

database sql mssql mysql sqlite

08/06 2014

v0.9.6

0.9.6.0 http://medoo.in

The Lightest PHP database framework to accelerate development

  Sources   Download

MIT

The Requires

  • php >=5.1
  • ext-pdo *

 

by Angel Lai

database sql mssql mysql sqlite

28/04 2014

v0.9.5.3

0.9.5.3 http://medoo.in

The Lightest PHP database framework to accelerate development

  Sources   Download

MIT

The Requires

  • php >=5.1
  • ext-pdo *

 

by Angel Lai

database sql mssql mysql sqlite