humanized / yii2-lookup
Yii2 Module to deal with lookup tables (tables having only id and a unique-name)
Installs: 99
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 2
Open Issues: 0
Type:yii2-extension
Requires
- kartik-v/yii2-editable: *
- kartik-v/yii2-grid: >=3.1.1
- kartik-v/yii2-widget-activeform: 1.4.8
- yiisoft/yii2: >=2.0.7
This package is not auto-updated.
Last update: 2024-11-09 19:04:43 UTC
README
Yii2 module providing various interfaces for dealing the repetitive tasks of managing lookup tables, i.e. individual database tables having only an auto-incremented primary key and a unique label.
The contents of this package include:
- A graphical user interface providing CRUD operations for lookup table records
- A command line interface providing CRUD operations and bulk import for lookup table records
- A database migration helper to manage creation and dropping of lookup tables
Installation
Install Using Composer
The preferred way to install this extension is through composer.
Either run
$ php composer.phar require humanized/yii2-lookup "*"
or add
"humanized/yii2-lookup": "*"
to the require
section of your composer.json
file.
Edit Configuration File
To enable the graphical user interface facilities, add the following lines to the application configuration file:
'modules' => [ 'lookup' => [ 'class' => 'humanized\lookup\Module', ], ],
To enable command line interface and migration facilities, add the following lines to the console configuration file:
'modules' => [ 'lookup' => [ 'class' => 'humanized\lookup\Module', ], ],