Componette

Componette

ublaboo

ublaboo / web-passage

Saving web passage: small util for Nette Framework

download-cloud-line composer require ublaboo/web-passage

Latest Stable Version License Total Downloads Gitter

WebPassage

Saving web passage: small util for Nette Framework

Config.neon:

services:
    - Ublaboo\WebPassage\WebPassage

Usage:

/**
 * @var Ublaboo\WebPassage\WebPassage
 * @inject
 */
public $webPassage;


public function startup()
{
	parent::startup();

	$this->webPassage->saveState();
}

Now when you need list of your website passage, you can get it by calling WebPassage::getPassage:

/**
 * Maximum size of passage array is 40
 */
$webPassage->getPassage($size = 10, $include_host = TRUE);

No release at this moment. Try to create first one.

bar-chart-fill

Statistics

download-cloud-fill
35
star-fill
2
bug-fill
0
flashlight-fill
3.4y
price-tag-2-line

Badges

guide-fill

Dependencies

nette/http (^2.3|^2.4)
Componette Componette felix@nette.org