Skip to content

richard-ejem/nette-session-debug-bar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

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

Requirements

Nette Framework 2.0.12 or higher. (PHP 5.3 edition)

Documentation

Simple DebugBar to show content of session.

Instalation

Prefered way to intall is by Composer

{
	"require":{
		"zeleznypa/nette-session-debug-bar": "dev-master"
	}
}

Setup

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

common:
	services:
		sessionPanel:
			class: \Zeleznypa\Nette\Diagnostics\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: \Zeleznypa\Nette\Diagnostics\SessionPanel
			setup:
				- hideSection('Nette.Http.UserStorage/')
				- hideSection('Nette.Forms.Form/CSRF')
			arguments:
				- @application
				- @session

About

Extension for Nette2 DebugPanel

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 40.6%
  • PHP 40.2%
  • CSS 19.2%