2017 © Pedro Peláez
 

yii2-extension yii2-lookup

Yii2 Module to deal with lookup tables (tables having only id and a unique-name)

image

humanized/yii2-lookup

Yii2 Module to deal with lookup tables (tables having only id and a unique-name)

  • Monday, March 20, 2017
  • by jeffrey.geyssens
  • Repository
  • 2 Watchers
  • 0 Stars
  • 97 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2 Lookup Table Module

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., (*1)

The contents of this package include:, (*2)

  • 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., (*3)

Either run, (*4)

$ php composer.phar require humanized/yii2-lookup "*"

or add, (*5)

"humanized/yii2-lookup": "*"

to the require section of your composer.json file., (*6)

Edit Configuration File

To enable the graphical user interface facilities, add the following lines to the application configuration file:, (*7)

'modules' => [
    'lookup' => [
        'class' => 'humanized\lookup\Module',
    ],
],

To enable command line interface and migration facilities, add the following lines to the console configuration file:, (*8)

'modules' => [
    'lookup' => [
        'class' => 'humanized\lookup\Module',
    ],
],

The Versions

20/03 2017

dev-master

9999999-dev

Yii2 Module to deal with lookup tables (tables having only id and a unique-name)

  Sources   Download

GPL-3.0

The Requires

 

by Jeffrey Geyssens
by François-Xavier de Saint Pern

database yii2 helper