или yiisoft/yii-cycle ?
eloquent
AR ещё не готов
You can use AR, it works better than on ayii2.
no code completion capabilities.. $user->setAttribute('username', 'yiiliveext'); $user->setAttribute('email', 'yiiliveext@mail.ru'); $user->save();
The id suggestions work for me, if that's what you're talking about, it all depends on how you use AR :)
If you are going to throw all the logic into the AR model, like in yii2, instead of using formModel and separating everything by layers, then good luck :)
not doing that, just like "classic" ORM approach more: $user->username = 'yiiliveext';
Обсуждают сегодня