Download the PHP package smoren/yii2-query-relation-manager without Composer
On this page you can find all versions of the php package smoren/yii2-query-relation-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-query-relation-manager
yii2-query-relation-manager
Implements the functionality of getting tree data from a database with one-to-one and one-to-many relationships using only one select-query to the database with flexible conditions configuration.
How to install to your project
Usage examples
Let's say we have these tables in DB with such columns:
- city (id, name)
- address (id, city_id, name)
- place (id, address_id, name)
- comment (id, place_id, username, mark, text)
and their corresponding ActiveRecord model classes:
- app\models\City
- app\models\Address
- app\models\Place
- app\models\Comment
For demo see this repo.
All versions of yii2-query-relation-manager with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
ext-pdo Version *
yiisoft/yii2 Version ^2.0.0
smoren/query-relation-manager Version ^3.0.0
ext-pdo Version *
yiisoft/yii2 Version ^2.0.0
smoren/query-relation-manager Version ^3.0.0
The package smoren/yii2-query-relation-manager contains the following files
Loading the files please wait ....