GitXplorerGitXplorer
r

ZFDebug-for-ZF2

public
6 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
1c347a290132a026aad605a9f1f8dafa451a604f

Removed "demos" folder as it is no longer relevant having the application resource

rrafeca committed 14 years ago
Unverified
252d02fb5c6f5a84549c3f791173be24931c59c3

Added credits to documentation

rrafeca committed 14 years ago
Unverified
6069df4a845f987afdfc9a47712fe354bc6ec735

Updated documentation

rrafeca committed 14 years ago
Unverified
207ff79c9709c6e428ff3e16704c4512e8e1f860

Renamed README to make it look nicer in GitHub

rrafeca committed 14 years ago
Unverified
e02ed50cc7b9838731bac31d0345bac8db357457

Updated README file with installation instructions

rrafeca committed 14 years ago
Unverified
a7366ca4737aab9ebad73628bd189e40eb43fe9b

Added Application Resource to initialize ZFDebug from application.ini file

rrafeca committed 14 years ago

README

The README file for this repository.

ZFDebug for Zend Framework 2

Fork of Joakim Nygård's ZFDebug bar that enables the integration with Zend Framework 2.0

Currently it is based on an experimental version of ZFDebug 1.6, grabbed from its SVN repository (revision 154 of the trunk).

Most work done it's related to namespace additions. There has also been added an Application Resource, to make it easier to initialse ZFDebug from the application.ini config file.

Installation instructions

Place the folder 'ZFDebug' in the library path of your Zend Framework Project (or in another folder configured in the PHP include_path).

To initialize ZFDebug using its application resource, first add the following line into your application.ini:

pluginPaths.ZFDebug\Application\Resource = "ZFDebug/Application/Resource"

Then you can configure ZFDebug directly from your 'application.ini'. Enter the following lines within the environment where you want to display the ZFDebug bar (normally development):

; ZFDebug initialization
resources.zfdebug.autoload          = true
resources.zfdebug.debug             = true
resources.zfdebug.jquery_path       = "/js/jquery.min.js"

; ZFDebug plugins to load
resources.zfdebug.plugins.Auth.user = username
resources.zfdebug.plugins.Auth.role = role
resources.zfdebug.plugins.Cache     = null
resources.zfdebug.plugins.Exception = null
resources.zfdebug.plugins.File[]    = APPLICATION_PATH "/../"
resources.zfdebug.plugins.Html      = null
resources.zfdebug.plugins.Log       = null
resources.zfdebug.plugins.Memory    = null
resources.zfdebug.plugins.Time      = null
resources.zfdebug.plugins.Variables = null

You can find more information about those params and more resources regarding the installation in the official ZFDebug page