karmabunny / pdb
PDO wrapper
v0.32.38
2024-08-14 02:39 UTC
Requires
- php: ^7|^8
- ext-dom: *
- ext-libxml: *
- ext-pdo: *
- karmabunny/kb: ^2.33|^3
Requires (Dev)
- karmabunny/rdb: ^1.16
- phpcompatibility/php-compatibility: ^9.3
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9
Suggests
- karmabunny/rdb: For persistent caching - using the PdbCacheRedis class
- dev-master
- v0.32.38
- v0.32.37
- v0.31.37
- v0.30.37
- v0.29.37
- v0.29.36
- v0.28.36
- v0.27.36
- v0.26.36
- v0.25.36
- v0.24.35
- v0.23.33
- v0.23.32
- v0.23.31
- v0.22.31
- v0.21.31
- v0.20.31
- v0.19.31
- v0.19.30
- v0.18.30
- v0.18.29
- v0.17.29
- v0.16.29
- v0.16.28
- v0.15.28
- v0.15.27
- v0.15.26
- v0.15.25
- v0.15.24
- v0.15.23
- v0.14.22
- v0.14.21
- v0.13.21
- v0.13.20
- v0.12.20
- v0.11.20
- v0.11.19
- v0.11.18
- v0.11.17
- v0.11.16
- v0.11.15
- v0.11.14
- v0.11.13
- v0.11.12
- v0.11.11
- v0.11.10
- v0.10.10
- v0.9.8
- v0.8.8
- v0.7.8
- v0.7.7
- v0.7.6
- v0.6.6
- v0.6.5
- v0.6.4
- v0.5.4
- v0.5.3
- v0.5.2
- v0.5.1
- v0.4.1
- v0.3.1
- v0.2.1
- v0.2
- v0.1
- dev-feat/math-binder
- dev-feat/timezones
- dev-feat/pdb-schema
- dev-feat/condition-interface
- dev-feat/computed-columns
- dev-fix/alias-parser
- dev-feat/named-bindings
- dev-feat/polyfill-condition-tables
- dev-feat/nested-transactions
- dev-feat/mysqli
- dev-feat/profiling
- dev-backport/0.5
- dev-feat/shared-transactions
This package is auto-updated.
Last update: 2024-11-07 07:30:39 UTC
README
A PDO wrapper for fun and profit.
This is ripped directly from Sprout 3 with a lot of modification. There's a set of (in-progress) compat classes to enable one to 'backport' the updates here into a Sprout site.
General improvements are things like:
- consistent db-agnostic column escapes
- query builder
- models
- improved dbsync
- migration exports
- adapter architecture for other DBs (postgres, sqlite, mssql)
- more tests
- data binding interface
Install
Add as a dependency:
composer require karmabunny/pdb
Examples
Usage is documented in the docs/
folder.
Contributing
Please see the TODO and CONTRIBUTING documents.