Download the PHP package evolutionphp/database without Composer
On this page you can find all versions of the php package evolutionphp/database. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download evolutionphp/database
More information about evolutionphp/database
Files in evolutionphp/database
Package database
Short Description Codeigniter 3 standalone database (MySQL).
License MIT
Informations about the package database
Simple Database Library
Codeigniter 3 standalone database (MySQL).
Installation
Use Composer to install Logger into your project:
Configuration
-
Set configuration var with details of database
- Initialize class
Call instance
If you already initialize the Database class, then you can call an instance
Usage Examples
Standard Query With Multiple Results (Object Version)
This is optional, you can save logs of errors. For params of logger go to SimpleLogger
Standard Query With Single Result
Standard Insert
Query Builder Insert
For more information visit CodeIgniter3 Query Builder
Database Manipulation
The Database Forge Class contains methods that help you manage your database.
Initializing the Forge Class
Creating a table Fields are created via an associative array. Within the array you must include a ‘type’ key that relates to the datatype of the field. For example, INT, VARCHAR, TEXT, etc. Many datatypes (for example VARCHAR) also require a ‘constraint’ key.
Lets add keys
Creating a table
For more information visit CodeIgniter3 Database Forge Class
Authors
This library was primarily developed by CodeIgniter 3 and modified by Andres M for standalone use.
All versions of database with dependencies
ext-mysqli Version *
ext-ctype Version *