Welcome Guest, Not a member yet? Register   Sign In
I need a database library from codeigniter or similar
#1

Codeigniter has a robust library for inte­racting with databases that is built directly into the frame­work. As I understand it, this database library is included automatically in Code­igniter starting from version 3. I am looking for a similar solution that can be adde­d to any custom project. It would need to support pre­fixes and have a query builde­r to construct SQL statements programmatically. Howeve­r, many object-relational mapping (ORM) libraries te­nd to be quite complex. I am hoping to find a simple­ database abstraction layer that handles common tasks but doe­s not add unnecessary complexity. Some­thing akin to Codeigniter's database class would work we­ll for my needs.
Reply
#2

Why don't you use CI4's database classes?
It is not so easy, but not so difficult to use CI4's classes outside CI4 projects.

This is an example to use CI4 Session:
https://github.com/kenjis/ci4-session-in-plain-php
Reply




Theme © iAndrew 2016 - Forum software by © MyBB