Download the PHP package beromir/neos-ray without Composer
On this page you can find all versions of the php package beromir/neos-ray. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package neos-ray
Ray Helper for Neos CMS
Debug your Neos site with the Ray app.
Ray is a debugger app from Spatie. You can find more information about Ray on https://myray.app/.
Official Ray docs: https://spatie.be/docs/ray/v1/introduction.
Installation
Run the following command in your site package:
Then run composer update
in your project root.
Requirements
You need to have the Ray app installed and a valid license. You can download the app here: https://spatie.be/docs/ray/v1/the-ray-desktop-app/download-the-free-demo.
Configuration
Create the configuration file ray.php
in your Neos site root directory.
Configuration options: https://spatie.be/docs/ray/v1/configuration/framework-agnostic-php.
Configuration options when you use Docker: https://spatie.be/docs/ray/v1/environment-specific-configuration/docker.
Usage
You can use all Ray functions from https://spatie.be/docs/ray/v1/usage/framework-agnostic-php-project.
Reference list (just the PHP specific functions): https://spatie.be/docs/ray/v1/usage/reference.
To use the functions, you must add them as key-value pairs in Fusion.
If the function does not require any parameters, you can use null
, false
or an empty string as the value.
To pass parameters, add them as a value.
Debug a Fusion expression:
Alternative ways:
Debug multiple values:
Use Debug Actions to debug NodeTypes:
You can use the following Debug Actions for NodeTypes:
Debug Action | Description |
---|---|
nodeTypeName |
Display the NodeType name of a node |
context |
Display the context of a node |
contextPath |
Display the context path of a node |
properties |
Display the properties of a node |
Eel Helper
You can also use the Ray Eel helper to debug your site.
The second parameter can be used to set a debug action for NodeTypes.
All versions of neos-ray with dependencies
neos/flow Version *
spatie/ray Version ^1.30
php Version ^7.3 || ^8.0