Download the PHP package depage/db without Composer
On this page you can find all versions of the php package depage/db. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package db
depage-db
PDO Wrapper
A small wrapper around the pdo object which allows late/on demand initialization of the database connection.
Schema
The Schema class imports or updates SQL database schemata. Schemata are described by common SQL files with update instructions in comments. SQL files can also be templates to allow for prefixing/replacement of table identifiers.
Instruction tags
- @@version
- mandatory, labels the following code with a version identifier
- @@tablename
- mandatory, declares database tablename to be updated
- marks table identifier for replacement function
- @@connection
- marks table identifiers for replacement function
Example
SQL schema file (schema.sql)
Import/update in PHP
License (dual)
All versions of db with dependencies
PHP Build Version
Package Version
Requires
php Version
>= 5.3
The package depage/db contains the following files
Loading the files please wait ....