yii2-module/yii2-crud

A library that provides crud (i.e. low level backend admin) controllers and actions for relational models


README

A library that provides crud (i.e. low level backend admin) controllers and actions for relational models.

coverage build status

Installation

The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.

  • Download composer.phar from their website.
  • Then run the following command to install this library as dependency :
  • php composer.phar install yii2-extended/yii2-crud ^7

Configuration

This module needs the following components to be set at the configuration level:

  • NONE

This module uses the following parameters to be set at the configuration level:

  • NONE

Then the module should be configured as follows (in console.php or web.php) :

$config = [
	...
	'modules' => [
		...
		'crud' => [
			'class' => 'Yii2Extended\Yii2Crud\CrudModule',
			'layout' => '//layout.php',
			'bundles' => [
				'url-module-id' => 'module-id-in-this-config-file',
			],
		],
		...
	],
	...
];

License

MIT (See license file)