xray-log / laravel
Laravel integration for xRay Logger
v1.0.1
2025-01-06 10:55 UTC
Requires
- php: >=7.2.5
- xray-log/php-sdk: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- mockery/mockery: ^1.5
- orchestra/testbench: ^6.0|^7.0|^8.0|^9.0
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.0|^10.0
README
Laravel integration for xRay. This package provides an easy way to debug and log your Laravel application.
Main Application: xRay
Installation
You can install the package via composer:
composer require --dev xray-log/laravel
Usage
Here are some examples of how to use xRay Logger:
// Direct logging (defaults to info) xRay('Info message'); // Different log levels xRay('Error message')->error(); xRay('Warning message')->warning(); xRay('Debug message')->debug(); // With exit xRay('Debug this')->exit();
License
The XRay Log Laravel Package is open-sourced software licensed under the MIT license.