opis / database
A database abstraction layer over PDO, that provides a powerful and intuitive query builder, bundled with an easy to use schema builder
Installs: 73 431
Dependents: 5
Suggesters: 0
Security: 0
Stars: 98
Watchers: 14
Forks: 25
Open Issues: 7
Requires
- php: ^7.0 || ^8.0
- ext-pdo: *
Requires (Dev)
- phpunit/phpunit: ^6.5 || ^7.0 || ^8.0 || ^9.0
- symfony/yaml: ^3.4
- 2020.x-dev
- 4.3.0
- 4.2.1
- 4.2.0
- dev-master / 4.1.x-dev
- 4.1.1
- 4.1.0
- 4.0.1
- 4.0.0
- 4.0-alpha.1
- 3.6.x-dev
- 3.6.9
- 3.6.8
- 3.6.7
- 3.6.6
- 3.6.5
- 3.6.4
- 3.6.3
- 3.6.2
- 3.6.1
- 3.6.0
- 3.5.1
- 3.5.0
- 3.4.2
- 3.4.1
- 3.4.0
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.0
- 3.0.1
- 3.0.0
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.1
- 2.0.0
- 1.4.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
- dev-4.0-old
This package is auto-updated.
Last update: 2024-10-29 20:04:00 UTC
README
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" } }