marten/nette-idn

Nette helpers and extension for IDN server


Keywords
images, cdn
Licenses
BSD-3-Clause/GPL-2.0/GPL-3.0

Documentation

Nette IDN extension

To register this extension into the Nette, add the latte macro extension to your config file.

Nette 2.0.x

factories:
	nette.latte:
		class: Nette\Latte\Engine
		setup:
			- Marten\NetteIdn\IdnMacros::install(::$service->getCompiler())

Nette 2.1.x

latte:
	macros:
		- Marten\NetteIdn\IdnMacros::install

Then you need to configure your IDN account and API class.

idn:
	class: Marten\NetteIdn\Api('username', 'password')