Z-Ray
Zend Server Z-Ray is an innovative new technology that provides developers with deep insight into their PHP code, allowing them to inspect, debug and optimize their pages, resulting in fast and stable applications.
Z-Ray monitors requests made to the Web server, and displays live and detailed information in a web page component in your browser. This information includes: PHP functions, SQL queries, request variables, errors and warnings, server events, memory use, performance metrics, and more. Debugging and profiling sessions can be triggered in any integrated IDE directly from Z-Ray, facilitating quick troubleshooting and code optimization.
Z-Ray is displayed on any HTML-based web page located on the web server and open in a browser. The information in Z-Ray is displayed immediately as the page begins to load in the browser, and requires no further interaction or configuration.
All the information recorded by Zend Server and displayed in Z-Ray, is displayed for non-browser based requests as well. You can view information on API requests, web services, and requests made by mobile applications on the Z-Ray Live! page.
What information does Z-Ray display?
Note:
If Zend Server has not been launched yet, Z-Ray's features are disabled and you will be prompted to launchlaunch Zend Server to enable its functionality.
Z-Ray comes bundled with support for off-the-shelf PHP applications and frameworks with plugins for Zend Framework 1, Zend Framework 2, WordPress, Magento, Drupal, Laravel, Symfony, Apigility and Composer. Using these plugins, you gain deeper insight into how your code is performing on the application/framework level. These plugins work out of the box, and there are no further steps you need to take - simply open your application in a browser.
Additional plugins for Z-Ray can be installed via the Plugin Gallery.
WordPress
Panel |
Description |
Dashboard |
General details on the WordPress configuration, stats on resource consumption |
Cache Objects |
WordPress cached objects and their memory consumption |
Hooks |
A view of WordPress hooks, including type and execution time |
Plugins |
List of loaded WordPress plugins with stats on resource consumption |
Theme |
Breakdown of theme functions and their execution time |
WP Query |
Information on the current main WordPress query |
Crons |
Frequency and scheduling information on WordPress tasks |
Magento
Panel |
Description |
Overview |
General info on the Magento configuration, request properties, and a list of handles used on the page |
Events |
A list of observers and related actions and passed arguments |
Observers |
A list of Magento observers, their source and duration, as well as the affected class |
Layouts |
Lists all the various layout XMLs. Also allows you to open page and package XML |
Rendered Blocks |
Info on blocks that have been rendered, including layout name and duration, and cache status |
Blocks |
A list of all used blocks on the page, the section on the page they are used in |
Logs |
New Magento log entries |
Modules |
A list of all the Magento modules loaded on the page, with info on status (active or not), the module code pool and version |
Zend Framework 1
Panel |
Description |
Request |
Request-specific data (e.g. templates, methods and status) |
Plugin |
Information on ZF1 plugin properties |
View |
List of ZF1 views, their location, and helpers |
View Helpers |
List of ZF1 view helpers, arguments, and helper objects |
Request Object |
Detailed profiling of ZF1 request objects |
Zend Framework 2
Panel |
Description |
Events |
List of ZF2 events, their source, duration and memory usage |
Response |
Response related data |
View Helpers |
List of ZF2 view helpers, their count and properties |
Modules |
List of ZF2 modules, their configuration and location |
Forms |
List of ZF2 forms, their properties and relevant class |
Version |
Information on the application version |
Config |
General configuration and user specific data |
Application Config |
Application configuration data: modules list, configuration paths, listeners |
Request |
Request-specific data (templates, methods and status) |
Symfony
Panel |
Description |
Events |
List of Symfony events, their source, as well as the affected class |
Request |
Request-specific data (e.g. templates, methods and status) |
Config |
Information on application configuration, fields and values |
Bundles |
List of Symfony bundles and their location |
Forms |
List of used Symfony forms |
Security |
Information on security: enabled/disabled, access, user role |
Drupal
Panel |
Description |
Called Functions |
List of Drupal functions called, together with their parameters |
Loaded Modules |
List of loaded Drupal modules |
Retrieved Forms |
List of forms used on page |
Module Invoke |
List of actions performed for Drupal modules, and used hooks |
User Properties |
Details on current user |
Apigility
Panel |
Description |
MVC Auth Events |
Information on MVC authentication events, including events name and result |
Identity Role |
Information on the current user |
Composer
Panel |
Description |
Packages |
A list of defined Composer packages, their data and requirements |
Class Map |
A list of all PHP classes that was included using composer |
Laravel
Panel |
Description |
Events Log |
Log of all events that occurred during execution |
Laravel |
General configuration information |
Route |
Details on the action and class used, and entry and exit filters |
Session |
Information on Laravel session |
User Information |
Information on logged in users as read from the database |
Views |
Information on views used by the page |
Configurations |
Optional - reads configuration data from configuration files under 'apps/config'. |
Z-Ray is designed so that developers can easily add additional functionality. Using the built-in hooks, you can tap into Z-Ray's tracking mechanism, add Z-Ray panels, and extend the information displayed in existing Z-Ray panels.
Z-Ray extensions are simple PHP scripts that use new dedicated APIs that can trace any function or method call in your app/framework, tapping into the call and return, allowing you to easily extract any piece of information from the function’s context.
Z-Ray is displayed and activated when Zend Server is in Development mode. This mode is selected during the process of launchinglaunching Zend Server (for more information on Zend Server server profiles, see Server Profiles).
If Zend Server was launched with a production profile, Z-Ray is not displayed by default, but can be manually enabled from the Administration | Settings page. Please note that enabling Z-Ray on a production server may have an effect on any deployed applications.
Additionally, the Z-Ray Selective Mode allows administrators to restrict access to Z-Ray according to specific IPs, base URLs, or a predefined time duration. Thus, pages can be selectively and securely analyzed by developers using Z-Ray while in production.
Z-Ray supports a seamless development process, enabling you to directly debug and profile your code in your favorite IDE. Use Z-Ray to identify the issue, and then trigger a debugging or profiling session in your IDE with just one click. For information on integrating with your IDE, see Debugging/Profiling .
Z-Ray is supported on all Web browsers and operating systems, though we recommend using Google Chrome for optimized performance. There are specific connectivity issues with some browsers, see Troubleshooting Connectivity Issues for more information.