New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

opis/database

A database abstraction layer over PDO, that provides a powerful and intuitive query builder, bundled with an easy to use schema builder
89,112 97
Install
composer require opis/database
Latest Version:4.3.0
PHP:^7.0 || ^8.0
License:Apache-2.0
Last Updated:Sep 29, 2024
Links: GitHub  ·  Packagist
Maintainer: msarca

Opis Database

Tests Latest Stable Version Latest Unstable Version License

Database abstraction layer

Opis Database is a library that implements an abstraction layer over the PDO extension, by providing a powerful query builder along with an easy to use schema builder. The aim of the library is to provide an unified way of interacting with databases, no matter of the underlying relational database management system.

Currently, we are officially supporting MySQL, PostgreSQL, Microsoft SQL, and SQLite. We also provide experimental support - without any commitment regarding bug fixes and updates - for Firebird, IBM DB2, Oracle, and NuoDB query builder.

Documentation

The full documentation for this library can be found here

License

Opis Database is licensed under the Apache License, Version 2.0

Requirements

  • PHP 7 or higher
  • PDO

Installation

Opis Database is available on Packagist and it can be installed from a command line interface by using Composer.

composer require opis/database

Or you could directly reference it into your composer.json file as a dependency

{
    "require": {
        "opis/database": "^4.0"
    }
}

Related Packages

usmanhalalit/pixie

A lightweight, expressive, framework agnostic query builder for PHP.

2,322,021 674
crysalead/sql-dialect

SQL query builder.

13,487 6
pecee/pixie

Lightweight, fast query-builder for PHP based on Laravel Eloquent but with less...

40,054 42
dibi/dibi

💽 Dibi: smart database layer for PHP. You write SQL, and placeholders turn arra...

4,356,030 498
nette/database

💾 Nette Database: a database layer with SQL and smart placeholders, plus Explor...

7,538,954 540

Version History

Version Released PHP License
4.3.0 ^7.0 || ^8.0 Apache-2.0
4.2.1 ^7.0 Apache-2.0
4.2.0 ^7.0 Apache-2.0
4.1.1 ^7.0 Apache-2.0
4.1.0 ^7.0 Apache-2.0
Pre-releases (1)
Version Released PHP License
4.0-alpha.1 >=7.0.0 Apache-2.0