webvimark/generators

There is no license information available for the latest version (1.0.4) of this package.

Generators for yii 2

1.0.4 2016-07-19 11:59 UTC

This package is auto-updated.

Last update: 2024-03-29 03:12:51 UTC


README

Provide:

  • usage of relations in views and search
  • image, sorter, status columns
  • better views
  • integrations with other my extensions
  • autocompletion

Installation

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist webvimark/generators "*"

or add

"webvimark/generators": "*"

to the require section of your composer.json file.

Configuration

In your config/web.php

	$config['bootstrap'][] = 'gii';
	$config['modules']['gii'] = [
		'class'=>'yii\gii\Module',
		'generators' => [
			'n-model'     => 'webvimark\generators\model\Generator',
			'n-crud'      => 'webvimark\generators\crud\Generator',
			'n-module'    => 'webvimark\generators\module\Generator',
			'n-extension' => 'webvimark\generators\extension\Generator',
		]
	];

Usage

Go to gii