M
M
mitaichik2015-08-15 00:25:53
PHP
mitaichik, 2015-08-15 00:25:53

What is the best ORM/AR PostgreSQL for PHP?

Hello! Tell me, is there a normal ORM for PostgreSQL under PHP? To support arrays? custom types and so on...
In general, the project is based on Yii1, its AR works with PostgreSQL via PDO - accordingly, it can't do anything like that. I would like a normal ORM/AR preferably in Yii style...
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2015-08-15
Protko @Fesor

1) PDO can do all this
2) Doctrine2, there you can add custom functions (say, there are ready-made extensions for postgis), and custom types .... In general, this is the best ORM at the moment, but it is complicated.

A
Alexey Vasilyevich, 2015-08-15
@mariczzz

If you need something simple, then Idiorm + Paris often helped me out.
And yes, it seems to me that any ORM / AR bindings are based on PDO. Why didn't you like it?)

O
Oleg, 2015-08-15
@mayken

Illuminate Database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question