Componette

Componette

tomaskarlik

tomaskarlik / conventions v1.0

Statict DB conventions overwrite for Nette

download-cloud-line composer require tomaskarlik/conventions

Conventions

Install

Download package

composer require tomaskarlik/conventions

Register extension in config.neon

extensions:
	conventions: TomasKarlik\Conventions\DI\Extension

conventions:
	my_view1: primary_key1
	my_view2: primary_key2
	table: key_name

database:
	conventions: @TomasKarlik\Conventions\Conventions

Other tables use Nette\Database\Conventions\DiscoveredConventions

price-tag-2-line

Badges

guide-fill

Dependencies

php (>=5.6)
nette/di (^2.4)
Componette Componette felix@nette.org