Skip to content

webvimark/generators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generators for Yii 2

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages