Question

Anyone have suggestions on wrappers for SQL within PHP? I've been using ezSQL, which is awesome, but wanted to see if anyone had any other suggestions.

Was it helpful?

Solution

Doctrine, if you want full blown ORM. Zend_DB_Table is fine if all you need is a query builder.

OTHER TIPS

PDO

I suggest Zend Framework DB backage, it has adapters for most database connectivity (PDO, MySQL, SQL Server, Oracle, Sqlite), is object oriented and uses row gateway and table gateway patterns, prevents SQL injections, works with stored procedures, has a builtin profiler etc. but If you want some ORM solution, I suggest Propel, or Doctorine.

You could always look into an ORM solution like Propel.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top