Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 899 Bytes

README.md

File metadata and controls

42 lines (35 loc) · 899 Bytes

#Session-DebugBar (WTFPL)# Pavel Železný (2bfree), 2012 (www.pavelzelezny.cz)

Requirements

Nette Framework 2.0.3 or higher. (PHP 5.3 edition)

Documentation

Simple DebugBar to show content of session.

Examples

To load SessionPanel into the DebugBar by insert following code into config.neon

common:
	services:
		sessionPanel:
			class: SessionPanel
			arguments:
				- @application
				- @session

	nette:
		debugger:
			strictMode: true
			bar:
				- @sessionPanel

You can also specify section to hide in debugbar by add setup section in service definition.

common:
	services:
		sessionPanel:
			class: SessionPanel
			setup:
				- hideSection('Nette.Http.UserStorage/')
				- hideSection('Nette.Forms.Form/CSRF')
			arguments:
				- @application
				- @session