2017 © Pedro Peláez
 

library wp-tracy

(Nette) Tracy connector for WordPress

image

ktstudio/wp-tracy

(Nette) Tracy connector for WordPress

  • Thursday, August 11, 2016
  • by ktstudio
  • Repository
  • 3 Watchers
  • 12 Stars
  • 145 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 4 Open issues
  • 7 Versions
  • 16 % Grown

The README.md

WP Tracy

Tracy is an excellent PHP debugger bar from Nette PHP framework., (*1)

WP Tracy is port to WordPress for test environment., (*2)

When it's activated, it automatically shows Tracy bar and displays within global WP constants and their values., (*3)

Installation & Configuration

  1. Use command on your path: composer require hlavacm/wp-tracy
  2. Profit!
  3. You can optionally define custom PHP constants in the code, but they must be defined in the action init with priority 1.
    • WP_TRACY_ADMIN_DISABLED - true
    • WP_TRACY_CHECK_IS_USER_LOGGED_IN - on/off
    • WP_TRACY_ONLY_FOR_USER_ID - some (existing) user ID (as a number)
    • WP_TRACY_ENABLE_MODE - detect/development/production
    • WP_TRACY_PANELS_FILTERING_ALLOWED - on/off
  4. You can optionally define custom options wp-tracy-user-settings as serialized array of keys and values:
    • check-is-user-logged-in => on/off
    • only-for-user-id => some (existing) user ID (as number)
    • debugger-mode => detect/development/production
    • panels-filtering-allowed => on/off
  5. You can optionally use wp_tracy_panels_filter to modify default panels array (full class names)
  6. The following panels are visible by default (if they are available):
    • WpTracy\\WpPanel
    • WpTracy\\WpUserPanel
    • WpTracy\\WpPostPanel
    • WpTracy\\WpQueryPanel
    • WpTracy\\WpQueriedObjectPanel
    • WpTracy\\WpDbPanel
    • WpTracy\\WpRolesPanel
    • WpTracy\\WpRewritePanel
    • WpTracy\\WpCurrentScreenPanel

WP Tracy WP Tracy exception, (*4)


Copyright © Martin Hlaváč 2015-2018, (*5)

The Versions

11/08 2016

dev-master

9999999-dev https://github.com/ktstudio/wp-tracy

(Nette) Tracy connector for WordPress

  Sources   Download

BSD-3-Clause

The Requires

 

wordpress debugger tracy

11/08 2016

v1.0.5

1.0.5.0 https://github.com/ktstudio/wp-tracy

(Nette) Tracy connector for WordPress

  Sources   Download

BSD-3-Clause

The Requires

 

wordpress debugger tracy

15/07 2016

v1.0.4

1.0.4.0 https://github.com/ktstudio/wp-tracy

(Nette) Tracy connector for WordPress

  Sources   Download

BSD-3-Clause

The Requires

 

wordpress debugger tracy

19/02 2016

v1.0.3

1.0.3.0 https://github.com/ktstudio/wp-tracy

(Nette) Tracy connector for WordPress

  Sources   Download

BSD-3-Clause

The Requires

 

wordpress debugger tracy

28/12 2015

v1.0.2

1.0.2.0 https://github.com/ktstudio/wp-tracy

(Nette) Tracy connector for WordPress

  Sources   Download

BSD-3-Clause

The Requires

 

wordpress debugger tracy

22/10 2015

v1.0.1

1.0.1.0 https://github.com/ktstudio/wp-tracy

(Nette) Tracy connector for WordPress

  Sources   Download

BSD-3-Clause

The Requires

 

wordpress debugger tracy

11/10 2015

v1.0

1.0.0.0 https://github.com/ktstudio/wp-tracy

(Nette) Tracy connector for WordPress

  Sources   Download

BSD-3-Clause

The Requires

 

wordpress debugger tracy