Download the PHP package vulcanphp/simpledb without Composer
On this page you can find all versions of the php package vulcanphp/simpledb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vulcanphp/simpledb
More information about vulcanphp/simpledb
Files in vulcanphp/simpledb
Download vulcanphp/simpledb
More information about vulcanphp/simpledb
Files in vulcanphp/simpledb
Vendor vulcanphp
Package simpledb
Short Description Simple DB is a lightweight and easy SQL Query Builder with many common features in PHP Database Management
License MIT
Package simpledb
Short Description Simple DB is a lightweight and easy SQL Query Builder with many common features in PHP Database Management
License MIT
Please rate this library. Is it a good library?
Informations about the package simpledb
Simple DB
Simple DB is a lightweight and easy SQL Query Builder with many common features in PHP Database Management
Installation
It's recommended that you use Composer to install Simple DB
Create or Initialize Database
Available Methods of Database
- getPdo()
- prepare()
- last_id()
- ping()
- resetPdo()
- config()
- beginTransaction()
- commit()
- rollBack()
- getHookHandler()
- .. (and all PDO methods)
Fetch Data Using Query Builder
Available Methods to Fetch Record
- select()
- where()
- whereIn()
- orWhere()
- andWhere()
- join()
- leftJoin()
- rightJoin()
- crossJoin()
- order()
- orderAsc()
- orderDesc()
- group()
- having()
- limit()
- fetch()
- first()
- last()
- latest()
- result()
- paginate()
Insert Record Using Query Builder
Update Record Using Query Builder
Delete Record Using Query Builder
Basic Usage of Model
Example User Model:
Create a New User Using Model
Edit or Update User Using Model
Remove User Using Model
Fetch User Using Model
Model Available Methods:
- ::query()
- ::put()
- ::create()
- ::select()
- ::where()
- ::all()
- ::find()
- ::findOrFail()
- ::total()
- ::paginate()
- ::erase()
- ::clearData()
- ->save()
- ->remove()
- ->hasOne()
- ->hasMany()
- ->belongsTo()
- ->belongsToMany()
Usage of Paginator
Paginator Available Methods:
- hasData()
- hasLinks()
- getData()
- getLinks()
- getPages()
- getOffset()
- getTotal()
- getLimit()
- getKeyword()
- setTotal()
- setLimit()
- setKeyword()
- reset()
- setEntity()
- setStyle()
set an external database to query builder
Usage of Database Hooks
Available Hooks in Database, Query Builder, and Model:
- fallback(): database, query, model, model_static
- filter: pdo()
- filter: prepare()
- filter: dsn()
- filter: pdo_options()
- filter: insert_data()
- filter: insert()
- filter: delete()
- filter: update_data()
- filter: update()
- filter: select()
- filter: result()
- filter: paginator()
- filter: fillable_data()
- action: transaction()
- action: commit()
- action: rollback()
- action: prepare()
- action: last_id()
- action: ping()
- action: before_pdo()
- action: after_pdo()
- action: changed()
- action: insert()
- action: insert()
- action: deleted()
- action: inserted()
- action: delete()
- action: update()
- action: updated()
- action: select()
- action: selected()
All Helper Functions of Simple DB
- database_init() / db_init()
- database_create() / db_create()
- database_hooks() / db_hooks()
- database() / db()
- qb_table() / qb()
- pdo()
- reset_pdo()
- prepare()
- is_pdo_driver()
- is_sqlite()
- is_mysql()
- paginator()
Direct Usage of Simple DB
All versions of simpledb with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package vulcanphp/simpledb contains the following files
Loading the files please wait ....