Download the PHP package rauwebieten/yii-activerecord-tools without Composer
On this page you can find all versions of the php package rauwebieten/yii-activerecord-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rauwebieten/yii-activerecord-tools
More information about rauwebieten/yii-activerecord-tools
Files in rauwebieten/yii-activerecord-tools
Download rauwebieten/yii-activerecord-tools
More information about rauwebieten/yii-activerecord-tools
Files in rauwebieten/yii-activerecord-tools
Vendor rauwebieten
Package yii-activerecord-tools
Short Description YII2 active record tools
License
Package yii-activerecord-tools
Short Description YII2 active record tools
License
Please rate this library. Is it a good library?
Informations about the package yii-activerecord-tools
YII ActiveRecord Tools
Generates active record classes for YII2
This script generates model classes, and query classes for each table in the provided database. The script generates base classes which contain all functional code, and concrete classes for you to modify.
Concrete classes are never overwritten.
Base classes are overwritten when the script is ran.
Installation
Install with composer
composer require rauwebieten/yii-activerecord-tools
Add module to your console app config
possible configuration options:
- db: the name of the database component, defaults to 'db'
- namespace: the namespace in which the classes need to generate, defaults to 'app\models'
- baseModelClass: base class for generated active record models, defaults to ActiveRecord::class
- baseQueryClass: base class for generated qeury classes, defaults to ActiveQuery::class
Usage
Models are generated in your models folder. Commit and use.
All versions of yii-activerecord-tools with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.3.0
yiisoft/yii2 Version ~2.0.14
yiisoft/yii2-bootstrap Version ~2.0.0
nette/php-generator Version ^3.5
yiisoft/yii2 Version ~2.0.14
yiisoft/yii2-bootstrap Version ~2.0.0
nette/php-generator Version ^3.5
The package rauwebieten/yii-activerecord-tools contains the following files
Loading the files please wait ....