Doctrine 2 Plugin for Zend Z-Ray. Provides information about various Doctrine 2 elements. Get a deeper look how entities and entity mappings, queries with parameter, events and caches are used.
PHP HTML
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs/img
zray
CHANGELOG.md
CONTRIBUTING.md
LICENSE.txt
README-GIT.md
README.md
README.txt
deployment.json

README.md

Doctrine 2 plugin for Zend Server Z-Ray

Displays information about your Doctrine 2 entities

Displays information about your Doctrine 2 queries

Displays information about your Doctrine 2 events

Displays information about your Doctrine 2 caches

This is a plugin to add functionality to the Zend Server Z-Ray. It will result in additional tab(s) to be presented in the browser.

  • Every change is tracked Want to know whats new? Take a look at CHANGELOG.md
  • Listen to your ideas Have a great idea? Bring your pull request or open a new issue. See CONTRIBUTING.md
  • Looking for a demo You can use the Demo Project to try out the Doctrine 2 Z-Ray plugin

Installation

Simply install the Doctrine 2 Z-Ray plugin via the Zend Server plugin gallery.

Zend Server Plugin Gallery

Doctrine 2 Z-Ray in action

After installation was successful, there are additional tabs in the Z-Ray toolbar.

Tab Entities

Tab Doctrine 2 Entities

The Entities tab displays information about used entities of the current page and entity mappings. There are the following columns:

  • Entity: FCQN of the entity class
  • Number Of Unique Entities: How many unique objects of this entity exist
  • Number Of Referenced Entities: How many references exist for this entity

Tab Queries

Tab Doctrine 2 Queries

The Queries tab displays information about executed queries. There are the following columns:

  • #: Query number
  • Query: The executed query with parameter
  • Number: The number of executions
  • Cached: The number of cached queries

Note: real queries are calculated as Number - Cached.

Tab Events

Tab Doctrine 2 Queries

The Events tab displays information about Doctrine 2 events with Symfony\Bridge\Doctrine support. There are the following columns:

  • Event: The event name
  • Number: The Number of occurrences
  • Listeners: Listener classes

Tab Cache

Tab Doctrine 2 Queries

The Cache tab displays information about Doctrine 2 caches and which cache driver is used. There are the following columns:

  • Type: The cache type
  • Status: Which cache driver is used

More Info

Want to extend the Doctrine 2 Z-Ray extension? Looking for more information on Z-Ray? Try these links: