Componette

Componette

h4kuna

h4kuna / fio-nette v3.0.0

Nette extension for Fio.

download-cloud-line composer require h4kuna/fio-nette

Fio for Nette

Downloads this Month Latest Stable Version Coverage Status Total Downloads License

Homepage for Fio and documentation.

Install by composer

$ composer require h4kuna/fio-nette

Example NEON config

Define extension

extensions:
	fio: h4kuna\Fio\Nette\DI\FioExtension

Configure extension

fio:
	# mandatory
	account: 2600267402/2010
	token: 5asd64as5d46ad5a6

More accounts and first is default.

fio:
	accounts:
		my-alias: # name for select account
			account: 2600267402/2010
			token: 5asd64as5d46ad5a6
		next-alias:
			account: 123456789/3216
			token: 6a4sd54asadsasde564

And choose account like this.

use h4kuna\Fio\Nette;

$fioFactory = $container->getService('fio.factory');
$fioPay = $fioFactory->createFioPay('next-alias');

// both are same, because first is default
$fioRead = $fioFactory->createFioRead();
$fioRead = $fioFactory->createFioRead('my-alias');
  • v3.0.0

    • support last nette
    • support last h4kuna/fio
bar-chart-fill

Statistics

download-cloud-fill
34675
star-fill
2
bug-fill
1
flashlight-fill
27d
price-tag-2-line

Badges

guide-fill

Dependencies

php (>=8.0)
h4kuna/dir (^0.1.2)
nette/di (^3.1)
Componette Componette felix@nette.org