Configuration

Here is an example of a Ray configuration file for use with PHP projects. Save it as ray.php in the root of your project.

<?php

return [
    /*
    * This settings controls whether data should be sent to Ray.
    */
    'enable' => true,

/*
     *  The host used to communicate with the Ray app.
     */
    'host' => 'localhost',

/*
     *  The port number used to communicate with the Ray app.
     */
    'port' => 23517,

/*
     *  Absolute base path for your sites or projects in Homestead, Vagrant, Docker, or another remote development server.
     */
    'remote_path' => null,

/*
     *  Absolute base path for your sites or projects on your local computer where your IDE or code editor is running on.
     */
    'local_path' => null,

/*
     * When this setting is enabled, the package will not try to format values sent to Ray.
     */
    'always_send_raw_values' => false,
];

Debug without breaking your flow

Ray keeps all your debug output neatly organized in a dedicated desktop app.

Stay in the loop with updates & promotions for Ray

The free trial lets you send up to 20 messages per session.